private void DeleteUserToolStripMenuItem_Click(object sender, EventArgs e) { ModifyUserInfoForm deleteForm = new ModifyUserInfoForm(); deleteForm.Text = "注销用户"; deleteForm.P = "2"; deleteForm.ShowDialog(); }
private void ModifyUserInfo() { ModifyUserInfoForm mui = new ModifyUserInfoForm(); mui.P = "0"; mui.Id = ID; mui._Tag = _Tag; mui.ShowDialog(); }
private void AddUser() { ModifyUserInfoForm mui = new ModifyUserInfoForm(); mui.Id = ID; mui._Tag = _Tag; mui.P = "1"; mui.Text = "新用户注册"; mui.ShowDialog(); }