Пример #1
0
        private void DeleteUserToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ModifyUserInfoForm deleteForm = new ModifyUserInfoForm();

            deleteForm.Text = "注销用户";
            deleteForm.P    = "2";
            deleteForm.ShowDialog();
        }
Пример #2
0
        private void ModifyUserInfo()
        {
            ModifyUserInfoForm mui = new ModifyUserInfoForm();

            mui.P    = "0";
            mui.Id   = ID;
            mui._Tag = _Tag;
            mui.ShowDialog();
        }
Пример #3
0
        private void AddUser()
        {
            ModifyUserInfoForm mui = new ModifyUserInfoForm();

            mui.Id   = ID;
            mui._Tag = _Tag;
            mui.P    = "1";
            mui.Text = "新用户注册";
            mui.ShowDialog();
        }