Пример #1
0
 private void Button_NewCustomer_Click(object sender, RoutedEventArgs e)
 {
     Window_NewCustomer window = new Window_NewCustomer();
     window.Closed += OnClose;
     window.ShowDialog();
 }
Пример #2
0
 private void AddCustomer(object sender, RoutedEventArgs e)
 {
     Window_NewCustomer window = new Window_NewCustomer(gridCustomers);
     window.ShowDialog();
 }