Esempio n. 1
0
        void InitializeControllers()
        {
            _controller = new MainController(this);
            _controller.ActivateController(managementPage.GetController());
            _diagnosticController = diagnosticPage.Controller;

            _diagnosticController.Started += _diagnosticController_Started;
            _diagnosticController.Stopped += _diagnosticController_Stopped;
        }
Esempio n. 2
0
        public MainForm()
        {
            InitializeComponent();

            _controller = new MainController(this);
            _controller.SetChildControllers(setupPage.Controller,
                                            discoveryPage.Controller,
                                            managementPage.Controller,
                                            testPage.Controller,
                                            devicePage.Controller);
            _controller.ActivateController(discoveryPage.Controller);
        }
Esempio n. 3
0
        public MainForm()
        {
            InitializeComponent();

//#if !FULL
//            this.tcPages.TabPages.Remove(tpRequests);
//#endif

            _controller = new MainController(this);
            _controller.SetChildControllers(setupPage.Controller,
                                            discoveryPage.Controller,
                                            managementPage.Controller,
                                            testPage.Controller,
                                            reportPage.Controller,
                                            devicePage.Controller,
                                            requestsPage.Controller);
            _controller.ActivateController(setupPage.Controller);
        }
Esempio n. 4
0
        private void tcPages_SelectedIndexChanged(object sender, EventArgs e)
        {
            IView view = tcPages.SelectedTab.Controls[0] as IView;

            _controller.ActivateController(view.GetController());
        }
Esempio n. 5
0
        void tcMain_SelectedIndexChanged(object sender, System.EventArgs e)
        {
            IView view = tcMain.SelectedTab.Controls[0] as IView;

            _controller.ActivateController(view.GetController());
        }