예제 #1
0
        private void NewUserHandler(object sender, RoutedEventArgs e)
        {
            EditUserWindow _new = new EditUserWindow(null);

            _new.ShowDialog();
            Users.ItemsSource = userMapper.Select(out _).ToList();
        }
예제 #2
0
        private void Users_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            User           selected = (User)Users.SelectedItem;
            EditUserWindow edit     = new EditUserWindow(selected);

            edit.Show();
        }