Beispiel #1
0
        //--------------------------------------------------------------------------------
        /// <summary>
        /// Fired when the wizard form has been started (and after all of the pages have
        /// been added).
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void ParentWizardForm_WizardFormStartedEvent(object sender, WizardFormStartedArgs e)
        {
            // center the groupbox container in the page. This should always work
            // because the form is large enough to accomodate this wizard page.

            // get the size of the page panel
            Size parentPanel = this.ParentWizardForm.PagePanelSize;
            // calculate our x/y centers
            //int x = (int)((parentPanel.Width - this.groupBox1.Width) * 0.5);
            //int y = (int)((parentPanel.Height - this.groupBox1.Height) * 0.5);
            //// move the container to its new location
            //this.groupBox1.Location = new Point(x, y);
        }
Beispiel #2
0
 //--------------------------------------------------------------------------------
 /// <summary>
 /// Fired when the wizard form has been started (and after all of the pages have
 /// been added).
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void ParentWizardForm_WizardFormStartedEvent(object sender, WizardFormStartedArgs e)
 {
     //====
 }