예제 #1
0
		private void btnEdit_Click(object sender, RoutedEventArgs e)
		{
			Human selection = (Human)dataGrid.SelectedItem;
			DetailWindow dw = new DetailWindow(CurrentUser, selection);
			dw.Show();
		}
예제 #2
0
		private void dataGrid_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
		{
			Human selection = (Human)dataGrid.SelectedItem;
			DetailWindow dw = new DetailWindow(CurrentUser, selection);
			dw.Show();
		}
예제 #3
0
		private void btnAddClient_Click(object sender, RoutedEventArgs e)
		{
			DetailWindow dw = new DetailWindow(CurrentUser, null);
			dw.Show();
		}