示例#1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            var editClient = new EditClient();

            editClient.ShowDialog();
            LoadData();
        }
示例#2
0
        private void EditClient_OnClick(object sender, RoutedEventArgs e)
        {
            var clientRow = dataGridClient.SelectedItem as Client;

            var editClient = new EditClient(clientRow.id);

            editClient.ShowDialog();
            LoadData();
        }