Beispiel #1
0
 //--------------------------------------------------------------------------------
 /// <summary>
 /// Fired when a wizard page is activated (made visible)
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void WizardPageActivated(object sender, WizardPageActivateArgs e)
 {
     PaintTitle();
     this.buttonBack.Enabled = (e.ActivatedPage.WizardPageType != WizardPageType.Start);
     if (e.ActivatedPage.WizardPageType == WizardPageType.Stop)
     {
         if (db.Language == "zh-CN")
         {
             this.buttonNext.Text = "完成";
         }
         else if (db.Language == "ja-JP")
         {
             this.buttonNext.Text = "完了";
         }
         else
         {
             this.buttonNext.Text = "Finished";
         }
     }
     else
     {
         if (db.Language == "zh-CN")
         {
             this.buttonNext.Text = "下一步";
         }
         else if (db.Language == "ja-JP")
         {
             this.buttonNext.Text = "次へ";
         }
         else
         {
             this.buttonNext.Text = "Next >";
         }
     }
 }
Beispiel #2
0
        private void WizardPagePayment_WizardPageActivated(object sender, WizardPageActivateArgs e)
        {
            ButtonStateBack  &= ~WizardButtonState.Enabled;
            ButtonStateStart &= ~WizardButtonState.Enabled;
            ButtonStateNext  &= ~WizardButtonState.Enabled;
            ParentWizardForm.UpdateWizardForm(this);

            pesaPal.TotalCost   = clsGlobalVariables.TotalCost;
            pesaPal.FirstName   = clsGlobalVariables.FirstName;
            pesaPal.LastName    = clsGlobalVariables.LastName;
            pesaPal.PhoneNumber = clsGlobalVariables.PhoneNumber;
            webBPesaPal.Navigate(pesaPal.GetPesapalUrl());
        }
Beispiel #3
0
 //--------------------------------------------------------------------------------
 /// <summary>
 /// Fired when a wizard page is activated (made visible)
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void WizardPageActivated(object sender, WizardPageActivateArgs e)
 {
     PaintTitle();
     this.buttonBack.Enabled = (e.ActivatedPage.WizardPageType != WizardPageType.Start);
     if (e.ActivatedPage.WizardPageType == WizardPageType.Stop)
     {
         this.buttonNext.Text = "Finished";
     }
     else
     {
         this.buttonNext.Text = "Next >";
     }
 }