コード例 #1
0
        private void newUserToolStripButton_Click(object sender, System.EventArgs e)
        {
            this.tabControl.SelectedTab = this.usersTabPage;
            CreateEditUserForm form = new CreateEditUserForm();

            form.ShowDialog(this);
        }
コード例 #2
0
        private void userBindingNavigatorEditItem_Click(object sender, System.EventArgs e)
        {
            User userToEdit = (User)usersBindingSource.Current;

            userToEdit.ConfirmPassword = userToEdit.Password;

            CreateEditUserForm form = new CreateEditUserForm(userToEdit, true /*editMode*/);

            form.ShowDialog(this);
        }
コード例 #3
0
        private void userBindingNavigatorAddNewItem_Click(object sender, System.EventArgs e)
        {
            CreateEditUserForm form = new CreateEditUserForm();

            form.ShowDialog(this);
        }
コード例 #4
0
        private void newUserToolStripButton_Click(object sender, System.EventArgs e)
        {
            this.tabControl.SelectedTab = this.usersTabPage;
            CreateEditUserForm form = new CreateEditUserForm();
            form.ShowDialog(this);

        }
コード例 #5
0
        private void userBindingNavigatorEditItem_Click(object sender, System.EventArgs e)
        {
            User userToEdit = (User)usersBindingSource.Current;
            userToEdit.ConfirmPassword = userToEdit.Password;

            CreateEditUserForm form = new CreateEditUserForm(userToEdit, true /*editMode*/);

            form.ShowDialog(this);

        }
コード例 #6
0
 private void userBindingNavigatorAddNewItem_Click(object sender, System.EventArgs e)
 {
     CreateEditUserForm form = new CreateEditUserForm();
     form.ShowDialog(this);
 }