コード例 #1
0
 private void SEC_USER_LIST_Load(object sender, EventArgs e)
 {
     DBGrid.ContextMenuStrip.Items.Add("-");
     DBGrid.ContextMenuStrip.Items.Add(clsTranslate.TranslateString("Reset Current Password"), null, new System.EventHandler(ResetCurrentPassword_Click));
     DBGrid.ContextMenuStrip.Items.Add(clsTranslate.TranslateString("Reset All Password"), null, new System.EventHandler(ResetAllPassword_Click));
     DBGrid.ContextMenuStrip.Items.Add("-");
     DBGrid.ContextMenuStrip.Items.Add(clsTranslate.TranslateString("Set User Privilege"), null, new System.EventHandler(SetUserPrivilege_Click));
     clsTranslate.InitLanguage(this);
     Util.ChangeStatus(this, true);
     FillControl.FillStatus(cboStatus, false);
     FillControl.FillRoleList(cboRoleId, false);
     LoadTree();
 }