Exemplo n.º 1
0
 private void OnSubmit()
 {
     try
     {
         _pointMachBll.UpdatePointMachine(PointMachine);
         isSaved = true;
         CloseAction();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 2
0
        private void OnSubmit()
        {
            try
            {
                //Progress.ProcessingText = PDMsg.ProgressUpdateText;
                //Progress.Start();

                _pointMachBll.UpdatePointMachine(PointMachine);
                //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();
            }
        }