public override void AttachListener(STEE.ISCS.MVC.IController controller)
        {
            OPCDataSelectorController ctl = (OPCDataSelectorController)(getController());

            this.treeOpcItems.AfterSelect            += ctl.AfterSelect;
            this.opcItemDataGridView.CellDoubleClick += ctl.opcItemDataGridView_CellDoubleClick;
        }
Beispiel #2
0
        public override void AttachListener(STEE.ISCS.MVC.IController controller)
        {
            FormulaGroupController ctl = (FormulaGroupController)controller;

            if (m_formType == FormType.Load)
            {
                this.okCmd.Click += ctl.LoadFormulaByGrpName;
            }
            else
            {
                this.okCmd.Click += ctl.SaveFormulaToGrpName;
            }
        }
        public override void AttachListener(STEE.ISCS.MVC.IController controller)
        {
            MarkerDataController ctl = (MarkerDataController)(controller);

            if (m_formType == FormType.Add)
            {
                this.okCmd.Click += ctl.AddMarkerData;
            }
            else
            {
                this.okCmd.Click += ctl.ModifyMarker;
            }
        }
Beispiel #4
0
        public override void AttachListener(STEE.ISCS.MVC.IController controller)
        {
            HistDataPointGroupController ctl = (HistDataPointGroupController)controller;

            if (m_formType == FormType.Load)
            {
                this.okCmd.Click += ctl.LoadHistDataPointByGrpName;
            }
            else
            {
                this.okCmd.Click += ctl.SaveHistDataPointToGrpName;
            }
        }
        public override void AttachListener(STEE.ISCS.MVC.IController controller)
        {
            FormulaDataController ctl = (FormulaDataController)controller;

            if (m_formType == FormType.Add)
            {
                this.okCmd.Click += ctl.AddFormulaData;
            }
            else
            {
                this.okCmd.Click += ctl.ModifyFormula;
            }
        }
        public override void AttachListener(STEE.ISCS.MVC.IController controller)
        {
            DataPointDataController ctl = (DataPointDataController)(controller);

            this.browseCmd.Click += ctl.BrowseDP;

            if (m_formType == FormType.Add)
            {
                this.okCmd.Click += ctl.AddDataPointData;
            }
            else
            {
                this.okCmd.Click += ctl.ModifyDataPoint;
            }
        }
        public override void AttachListener(STEE.ISCS.MVC.IController controller)
        {
            ChangeTrendTitleController ctl = (ChangeTrendTitleController)getController();

            this.okCmd.Click += ctl.ModifyTitles;
        }