示例#1
0
        //this function close this form and initilize and show the user list form
        private void cancelEditing(object sender, EventArgs e)
        {
            AdminUserList listFormChild = new AdminUserList(this.Email, this.PassHash);

            listFormChild.MdiParent       = this.ParentForm;
            listFormChild.FormBorderStyle = FormBorderStyle.None;
            listFormChild.Dock            = DockStyle.Fill;
            listFormChild.Show();
        }
示例#2
0
        //on Click function. this function initilize and show the child form for handle all users
        private void ShowUsers(object sender, EventArgs e)
        {
            AdminUserList userFormChild = new AdminUserList(this.Email, this.PassHash);

            userFormChild.MdiParent       = this;
            userFormChild.FormBorderStyle = FormBorderStyle.None;
            userFormChild.Dock            = DockStyle.Fill;
            userFormChild.Show();
        }