Esempio n. 1
0
 private void Submit()
 {
     try
     {
         _nylocmachineBll.UpdateNylocmachine(Nylocmachine);
         isSaved = true;
         CloseAction();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 2
0
 private void Submit()
 {
     try
     {
         //Progress.ProcessingText = PDMsg.ProgressUpdateText;
         //Progress.Start();
         _nylocmachineBll.UpdateNylocmachine(Nylocmachine);
         //Progress.End();
         ShowInformationMessage(PDMsg.SavedSuccessfully);
         //MessageBox.Show("Records saved successfully", "SmartPD", MessageBoxButton.OK, MessageBoxImage.Information);
         isSaved = true;
         if (_closed == false)
         {
             _closed = true;
             CloseAction();
         }
     }
     catch (Exception ex)
     {
         throw ex.LogException();
     }
 }