Exemple #1
0
 public PharmaceuticalManufacturingAddEditViewModel(PharmaceuticalManufacturingAddEdit pharmaceuticalManufacturingAddEditOpen)
 {
     pharmaceuticalManufacturingAddEdit = pharmaceuticalManufacturingAddEditOpen;
     using (Service1Client wcf = new Service1Client())
     {
         PharmaceuticalManufacturingList = wcf.GetAllPharmaceuticalManufacturing().ToList();
     }
 }
 private void PharmaceuticalManufacturingExecute()
 {
     try
     {
         PharmaceuticalManufacturingAddEdit view = new PharmaceuticalManufacturingAddEdit();
         view.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }