Exemplo n.º 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());
     }
 }
Exemplo n.º 2
0
 public void ExecuteOkCommand(object obj)
 {
     _mView.DialogResult = true;
     _mView.Close();
 }