예제 #1
0
 private void ContractorList_PreviewMouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     NewContractor form = new NewContractor((Contractor)ContractorList.SelectedItem);
     form.Show();
     form.Closed += Form_Closed;
 }
예제 #2
0
 private void newContractorBtn_Click(object sender, RoutedEventArgs e)
 {
     NewContractor form = new NewContractor();
     form.Show();
     form.Closed += Form_Closed;
 }