Exemple #1
0
        private void BtnEditClient_Click(object sender, RoutedEventArgs e)
        {
            Client    client          = ((FrameworkElement)sender).DataContext as Client;
            AddClient addClientWindow = new AddClient(client);

            addClientWindow.Show();
        }
Exemple #2
0
        private void BtnNewClient_Click(object sender, RoutedEventArgs e)
        {
            AddClient addClientWindow = new AddClient(null);

            addClientWindow.Show();
        }