B2018-071 PROMs was crashing during automated testing or print all procedures. Error Handling was added to keep the code from crashing.
B2018-070 The MS Word Panel was getting focus when the step editor was active if the PROMS window was resized or if a step with an annotation received focus. PROMS code was changed so that Word recieves focus when the Word Panel is active.
This commit is contained in:
@@ -1442,7 +1442,14 @@ namespace VEPROMS.CSLA.Library
|
||||
void CloseWordApp_Tick(object sender, EventArgs e)
|
||||
{
|
||||
Enabled = false;
|
||||
MyApp.Quit(false);
|
||||
try // B2018-071 Keep code from crashing on close of MS Word
|
||||
{
|
||||
MyApp.Quit(false);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_MyLog.WarnFormat("MyApp Quit {0} {1}", ex.GetType().FullName, ex.Message);
|
||||
}
|
||||
Dispose();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user