Пример #1
0
 private void add_Click(object sender, RoutedEventArgs e)
 {
     client s = new client();
     s.r += (() => { clientDataGrid.ItemsSource = myBl.GetAllClient(); });
     s.ShowDialog();
 }
Пример #2
0
 private void addNewClient_Click(object sender, RoutedEventArgs e)
 {
     var c = new client();
     c.ShowDialog();
 }