Example #1
0
        private void AddUser_Click(object sender, RoutedEventArgs e)
        {
            CreateUserWnd wnd = new CreateUserWnd();

            wnd.Users = db;
            wnd.ShowDialog();
        }
Example #2
0
        private void ListView_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            DataRowView   sel = listView.SelectedValue as DataRowView;
            CreateUserWnd wnd = new CreateUserWnd(sel.Row);

            wnd.Users = db;
            wnd.ShowDialog();
        }