示例#1
0
        private void InitializeAllPanels()
        {
            panelHome = new PanelHome();
            panel_MainContainer.Controls.Add(panelHome);

            panelDriveController = new PanelDriveController();
            panel_MainContainer.Controls.Add(panelDriveController);

            panelPhyMemController = new PanelPhyMemWatcher();
            panel_MainContainer.Controls.Add(panelPhyMemController);

            panelServiceWatcher = new PanelServiceWatcher();
            panel_MainContainer.Controls.Add(panelServiceWatcher);

            panelDatabaseWatcher = new PanelDatabaseWatcher();
            panel_MainContainer.Controls.Add(panelDatabaseWatcher);

            panelTransportController = new PanelSubscriptionController();
            panel_MainContainer.Controls.Add(panelTransportController);

            panelSMTPSettings = new PanelSMTPSettings();
            panel_MainContainer.Controls.Add(panelSMTPSettings);

            panelFTPSettings = new PanelFTPSettings();
            panel_MainContainer.Controls.Add(panelFTPSettings);

            panelLogger = new PanelLogger();
            panel_MainContainer.Controls.Add(panelLogger);

            panelMemoryAnalyzer = new PanelMemoryAnalyzer();
            panel_MainContainer.Controls.Add(panelMemoryAnalyzer);

            panelCrashReporting = new PanelEventReporting();
            panel_MainContainer.Controls.Add(panelCrashReporting);

            panelSystemInformation = new PanelSystemInformation();
            panel_MainContainer.Controls.Add(panelSystemInformation);

            panelUserController = new PanelUserControl();
            panel_MainContainer.Controls.Add(panelUserController);

            panelActionController = new PanelActionController();
            panel_MainContainer.Controls.Add(panelActionController);

            panelSQLContoller = new PanelSQLController();
            panel_MainContainer.Controls.Add(panelSQLContoller);

            panelServiceController = new PanelServiceController();
            panel_MainContainer.Controls.Add(panelServiceController);

            HideAllControls();

            LoadConfigs();

            ChangeCursorStyle();
        }
        private void InitializeAllPanels()
        {
            panelHome = new PanelHome();
            panel_MainContainer.Controls.Add(panelHome);

            panelDriveController = new PanelDriveController();
            panel_MainContainer.Controls.Add(panelDriveController);

            panelPhyMemController = new PanelPhyMemWatcher();
            panel_MainContainer.Controls.Add(panelPhyMemController);

            panelServiceWatcher = new PanelServiceWatcher();
            panel_MainContainer.Controls.Add(panelServiceWatcher);

            panelDatabaseWatcher = new PanelDatabaseWatcher();
            panel_MainContainer.Controls.Add(panelDatabaseWatcher);

            panelTransportController = new PanelSubscriptionController();
            panel_MainContainer.Controls.Add(panelTransportController);

            panelSMTPSettings = new PanelSMTPSettings();
            panel_MainContainer.Controls.Add(panelSMTPSettings);

            panelFTPSettings = new PanelFTPSettings();
            panel_MainContainer.Controls.Add(panelFTPSettings);

            panelLogger = new PanelLogger();
            panel_MainContainer.Controls.Add(panelLogger);

            panelMemoryAnalyzer = new PanelMemoryAnalyzer();
            panel_MainContainer.Controls.Add(panelMemoryAnalyzer);

            panelCrashReporting = new PanelEventReporting();
            panel_MainContainer.Controls.Add(panelCrashReporting);

            panelSystemInformation = new PanelSystemInformation();
            panel_MainContainer.Controls.Add(panelSystemInformation);

            panelUserController = new PanelUserControl();
            panel_MainContainer.Controls.Add(panelUserController);

            panelActionController = new PanelActionController();
            panel_MainContainer.Controls.Add(panelActionController);

            panelSQLContoller = new PanelSQLController();
            panel_MainContainer.Controls.Add(panelSQLContoller);

            panelServiceController = new PanelServiceController();
            panel_MainContainer.Controls.Add(panelServiceController);

            HideAllControls();

            LoadConfigs();

            ChangeCursorStyle();
        }