//假别设置 private void MenuHolidayClass_Click(object sender, EventArgs e) { ILogger.Write(EnumLogType.OperateLog, strLogPath + DateTime.Now.ToString("yyyy-MM-dd") + ".xml", LoginBLL.user, "打开假别设置菜单"); HolidayTypeSet hcs = new HolidayTypeSet(); hcs.Show(); }
//假别设置 private void MenuHolidayClass_Click(object sender, EventArgs e) { if (Searcher.FindFormByName("HolidayTypeSet")) { return; } //验证用户密码 if (!IsValidate()) { return; } ILogger.Write(EnumLogType.OperateLog, strLogPath + DateTime.Now.ToString("yyyy-MM-dd") + ".xml", LoginBLL.user, "打开假别设置菜单"); HolidayTypeSet hcs = new HolidayTypeSet(); hcs.Show(dockPanel1, DockState.Document); }
private void pictureBox44_Click(object sender, EventArgs e) { if (Searcher.FindFormByName("HolidayTypeSet")) { return; } ILogger.Write(EnumLogType.OperateLog, strLogPath + DateTime.Now.ToString("yyyy-MM-dd") + ".xml", LoginBLL.user, "打开假别设置菜单"); HolidayTypeSet hcs = new HolidayTypeSet(); hcs.Show(((KJ128NInterfaceShow.FrmMain)frmMain).dockPanel1, DockState.Document); }