Пример #1
0
 private void SaveExecute() //SaveExecut
 {
     try
     {
         using (Service1Client wcf = new Service1Client())
         {
             wcf.AddCustomer(Customer);
             isUpdateCustomer = true;
             addCustomer.Close();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Пример #2
0
 public void ExecuteOkCommand(object obj)
 {
     _mView.DialogResult = true;
     _mView.Close();
 }