Example #1
0
        public frmSysMonitoring()
        {
            InitializeComponent();

            this.dgvMonitorDetail.Font = ControlSetting.ListFont;
            this._ISysMonitoringBL = MasterBLLFactory.GetBLL<ISysMonitoringBL>(MasterBLLFactory.SysMonitoring);

            this.sysToolBar.BtnDelete_IsUsed = true;
            this.sysToolBar.BtnRefresh_IsUsed = true;
            this.sysToolBar.BtnExit_IsUsed = true;
            this.sysToolBar.BtnDelete_IsEnabled = false;
            this.sysToolBar.BtnRefresh_IsEnabled = true;
            this.sysToolBar.BtnExit_IsEnabled = true;
            this.cbxRefreshSpan.SelectedValueChanged += new EventHandler(cbxRefreshSpan_SelectedValueChanged);
            this.cbxAutoRefresh.Click += new EventHandler(cbxAutoRefresh_Click);
            this.sysToolBar.OnItemRefresh_Click += new WindowControls.HBPMS.SystemToolBar.ItemRefresh_Click(sysToolBar_OnItemRefresh_Click);
            this.sysToolBar.OnItemDelete_Click += new WindowControls.HBPMS.SystemToolBar.ItemDelete_Click(sysToolBar_OnItemDelete_Click);
            this.dgvMonitorDetail.SelectionChanged += new EventHandler(dgvMonitorDetail_SelectionChanged);

            this.dgvMonitorDetail.AutoGenerateColumns = false;
        }
Example #2
0
 public SystemMonitorBL()
 {
     this._ISysMonitoringBL = MasterBLLFactory.GetBLL<ISysMonitoringBL>(MasterBLLFactory.SysMonitoring);
 }