예제 #1
0
 private void buttonSave_Click(object sender, RoutedEventArgs e)
 {
     if (contractorController.ContractorDo())
     {
         Close();
     }
 }
예제 #2
0
 private void buttonDelete_Click(object sender, RoutedEventArgs e)
 {
     if (contractorsController.SelectedContractor != null)
     {
         contractorController.Contractor = contractorsController.SelectedContractor;
         contractorController.ContractorDo();
         contractorsController.RefreshDataGrid(ref dataGridContractors);
     }
 }