Exemplo n.º 1
0
        //设备档案管理
        private void tsmEquipmentManager_Click(object sender, EventArgs e)
        {
            if (Searcher.FindFormByName("FrmEquManage"))
            {
                return;
            }

            //验证用户密码
            if (!IsValidate())
            {
                return;
            }

            ILogger.Write(EnumLogType.OperateLog, strLogPath + DateTime.Now.ToString("yyyy-MM-dd") + ".xml", LoginBLL.user, "打开设备档案管理菜单");

            FrmEquManage frm = new FrmEquManage();
            frm.Show(dockPanel1, DockState.Document);
        }
Exemplo n.º 2
0
        //设备档案管理
        private void tsmEquipmentManager_Click(object sender, EventArgs e)
        {
            //验证用户密码
            if (!IsValidate())
            {
                return;
            }

            ILogger.Write(EnumLogType.OperateLog, strLogPath + DateTime.Now.ToString("yyyy-MM-dd") + ".xml", LoginBLL.user, "打开设备档案管理菜单");

            FrmEquManage frm = new FrmEquManage();
            frm.ShowDialog();
        }