Exemplo n.º 1
0
 void SOPList_CancelSOP(object sender, CancelSOPEventArgs e)
 {
     try
     {
         FinishSOP(sopViewModel);
     }
     catch (Exception ex)
     {
         Utility.WriteLog(ex);
         MessageBox.Show(Utility.GetErrorMessage());
         Utility.LogOut();
     }
 }
Exemplo n.º 2
0
 protected virtual void OnCancelSOP(CancelSOPEventArgs E)
 {
     try
     {
         var handler = CancelSOP;
         if (handler != null)
         {
             handler(this, E);
         }
     }
     catch (Exception ex)
     {
         Utility.WriteLog(ex);
         MessageBox.Show(Utility.GetErrorMessage());
         Utility.LogOut();
     }
 }