コード例 #1
0
        public void PrepareAllPanel()
        {
            _productionPanel      = new AppProductionPanel();
            _productionPanel.Dock = DockStyle.Fill;
            kGroupOperation.Panel.Controls.Add(_productionPanel);


            _recipePanel      = new AppRecipePanel();
            _recipePanel.Dock = DockStyle.Fill;
            kRecipeManagerPage.Controls.Add(_recipePanel);


            _generalPanel      = new AppGeneralPanel();
            _generalPanel.Dock = DockStyle.Fill;
            kGeneralSetupPage.Controls.Add(_generalPanel);


            _specPanel      = new AppSpecPanel();
            _specPanel.Dock = DockStyle.Fill;
            kSpecPage.Controls.Add(_specPanel);


            _machineSetupPanel      = new AppMachineSetupPanel();
            _machineSetupPanel.Dock = DockStyle.Fill;
            kMachineSetupPage.Controls.Add(_machineSetupPanel);


            _commonPararmPanel      = new AppCommonParamPanel();
            _commonPararmPanel.Dock = DockStyle.Fill;
            kCommonParamPage.Controls.Add(_commonPararmPanel);


            _utilityPanel      = new AppUtilityPanel();
            _utilityPanel.Dock = DockStyle.Fill;
            kGroupUtility.Panel.Controls.Add(_utilityPanel);


            _userPanel      = new AppUsersPanel();
            _userPanel.Dock = DockStyle.Fill;
            kUsersManagerPage.Controls.Add(_userPanel);


            //Default Selection Page
            try
            {
                kNavigatorMain.SelectedIndex             = 0;
                kNavigatorMainSetup.SelectedIndex        = 0;
                kNavigatorStateMachine.SelectedIndex     = 0;
                kNavigatorSemiStateMachine.SelectedIndex = 0;
            }
            catch
            {
            }
        }
コード例 #2
0
        protected override void Initializing()
        {
            #region Standard Pattern
            InitializeComponent();
            This = this;

            _allRecipe = U.GetComponent(AppConstStaticName.ALL_RECIPES);
            componentBrowser.Rebuild(_allRecipe);
            componentBrowser.TabPages.ControlAdded += new ControlEventHandler(SetPropertyGridFilter);
            this.Update();
            #endregion
        }