update 20260406
This commit is contained in:
@@ -155,9 +155,19 @@ namespace OnDoc
|
||||
db = null;
|
||||
Logging.Logging.Debug("Start - Ende", "start.cs", "");
|
||||
AppParams.StartApp = false;
|
||||
|
||||
//dokList1.refresh_dokumente();
|
||||
FileStream dictornyrystream = new FileStream(System.Windows.Forms.Application.StartupPath + @"\hyph_de_CH.dic", FileMode.Open, FileAccess.Read);
|
||||
Hyphenator.Dictionaries.Add("de-CH", dictornyrystream);
|
||||
try
|
||||
{
|
||||
if (System.IO.File.Exists(AppParams.tempdir + @"\hyph_de_CH.dic"))
|
||||
{
|
||||
System.IO.File.Delete(AppParams.tempdir + @"\hyph_de_CH.dic");
|
||||
}
|
||||
System.IO.File.Copy(System.Windows.Forms.Application.StartupPath + @"\hyph_de_CH.dic", AppParams.tempdir + @"\hyph_de_CH.dic");
|
||||
FileStream dictornyrystream = new FileStream(AppParams.tempdir + @"\hyph_de_CH.dic", FileMode.Open, FileAccess.Read);
|
||||
Hyphenator.Dictionaries.Add("de-CH", dictornyrystream);
|
||||
}
|
||||
catch { }
|
||||
this.Refresh();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user