Search Results Report
Changed Word conversion to use one instance of a Word Application unless an error occurs. Changed two timers to Static
This commit is contained in:
@@ -208,7 +208,7 @@ namespace DataLoader
|
||||
Security sec = new Security(VeSamPath, VePromsPath);
|
||||
return sec.Migrate();
|
||||
}
|
||||
private void WaitMS(int n)
|
||||
private static void WaitMS(int n)
|
||||
{
|
||||
DateTime dtw = DateTime.Now.AddMilliseconds(n);
|
||||
while (DateTime.Now < dtw)
|
||||
@@ -216,7 +216,7 @@ namespace DataLoader
|
||||
Application.DoEvents();
|
||||
}
|
||||
}
|
||||
private void Wait(int n)
|
||||
private static void Wait(int n)
|
||||
{
|
||||
DateTime dtw = DateTime.Now.AddSeconds(n);
|
||||
while (DateTime.Now < dtw)
|
||||
|
@@ -459,6 +459,7 @@ namespace DataLoader
|
||||
if (Properties.Settings.Default["BackupFileName"].ToString() != "")
|
||||
this.tbxBackupFileName.Text = Properties.Settings.Default.BackupFileName;
|
||||
_Loading = false;
|
||||
MSWordToPDF.CloseWordWhenDone = false;
|
||||
}
|
||||
|
||||
private void frmLoader_FormClosing(object sender, FormClosingEventArgs e)
|
||||
|
Reference in New Issue
Block a user