Exemplo n.º 1
0
        private void BtnClientName_Click(object sender, RoutedEventArgs e)
        {
            Client            clientToUpdate = ((Button)sender).Tag as Client;
            AddOrUpdateClient updateClient   = new AddOrUpdateClient(clientToUpdate);

            if (updateClient.ShowDialog() == true)
            {
                UpdateSourceCollection();
            }
        }
Exemplo n.º 2
0
 private static bool CheckIsOkClick(AddOrUpdateClient updateClient)
 {
     return(updateClient.ShowDialog() == true);
 }