private void button1_Click(object sender, EventArgs e)
        {
            controllerObj = new Controller();
            controllerObj.ChangeUserType(comboBox_Username.Text, comboBox_Type.Text);
            this.Hide();
            ManageUsers ManageUsersForm = new ManageUsers();

            ManageUsersForm.Show();
        }
示例#2
0
        private void Btn_AddUser_Click(object sender, EventArgs e)
        {
            controllerObj = new Controller();
            controllerObj.AddUser(TxtBx_username.Text, TxtBx_password.Text, TxtBx_ID.Text, comboBox_Type.Text, TxtBx_Security.Text);
            this.Hide();
            ManageUsers ManageUsersForm = new ManageUsers();

            ManageUsersForm.Show();
        }
示例#3
0
        private void Bt_DeleteUser_Click(object sender, EventArgs e)
        {
            controllerObj = new Controller();

            controllerObj.DeleteUser(comboBox_Delete.Text);
            this.Hide();
            ManageUsers ManageUsersForm = new ManageUsers();

            ManageUsersForm.Show();
        }
示例#4
0
        private void manageUsersToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ManageUsers mu = new ManageUsers();

            mu.Show();
        }