Exemplo n.º 1
0
        private void newUserToolStripButton_Click(object sender, System.EventArgs e)
        {
            this.tabControl.SelectedTab = this.usersTabPage;
            CreateEditUserForm form = new CreateEditUserForm();

            form.ShowDialog(this);
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
        private void userBindingNavigatorAddNewItem_Click(object sender, System.EventArgs e)
        {
            CreateEditUserForm form = new CreateEditUserForm();

            form.ShowDialog(this);
        }
Exemplo n.º 4
0
        private void newUserToolStripButton_Click(object sender, System.EventArgs e)
        {
            this.tabControl.SelectedTab = this.usersTabPage;
            CreateEditUserForm form = new CreateEditUserForm();
            form.ShowDialog(this);

        }
Exemplo n.º 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);

        }
Exemplo n.º 6
0
 private void userBindingNavigatorAddNewItem_Click(object sender, System.EventArgs e)
 {
     CreateEditUserForm form = new CreateEditUserForm();
     form.ShowDialog(this);
 }