Exemplo n.º 1
0
 public void FileOpenMruTest(MruStripMenu msm, string filename)
 {
     try
     {
         msm.AddFile(filename);
     }
     catch (System.Exception ex)
     {
         _msg.Length = 0;
         _msg.Append(AppGlobals.AppMessages.FormatErrorMessage(ex));
         Program._messageLog.WriteLine(_msg.ToString());
         AppMessages.DisplayErrorMessage(_msg.ToString(), _saveErrorMessagesToAppLog);
     }
     finally
     {
         ;
     }
 }
Exemplo n.º 2
0
 private void UpdateMruList(string filename)
 {
     try
     {
         _msm.AddFile(filename);
         SaveMruList();
     }
     catch (System.Exception ex)
     {
         _msg.Length = 0;
         _msg.Append(AppGlobals.AppMessages.FormatErrorMessage(ex));
         Program._messageLog.WriteLine(_msg.ToString());
         AppMessages.DisplayErrorMessage(_msg.ToString(), _saveErrorMessagesToAppLog);
     }
     finally
     {
         ;
     }
 }