コード例 #1
0
        /// <summary>
        /// Perform any initializations needed for this object.
        /// </summary>
        private void Init()
        {
            // Call the init for each control
            foreach (Control control in this.MainPanel.Controls)
            {
                // call the Init for each method
                IWizardControl wizardControl = control as IWizardControl;

                // if the wizard control exists
                if (wizardControl != null)
                {
                    // Call the Init method
                    wizardControl.Init();
                }
            }

            // Set the SelectedControl to the ProjectsTab
            this.ButtonSelected(ActiveControlEnum.ProjectsTab);

            // Enable the controls
            UIEnable();
        }