예제 #1
0
 private void SetupButtons(WizardNavigationArgs args)
 {
     FinishShown     = args.ShowFinish;
     PreviousShown   = args.ShowPrevious;
     btnNext.Text    = FinishShown ? "Finish" : "Next >";
     btnPrev.Visible = PreviousShown;
 }
예제 #2
0
        private void btnNext_Click(object sender, EventArgs e)
        {
            WizardNavigationArgs args = new WizardNavigationArgs();

            OnNextClicked(args);
            SetupButtons(args);
        }
예제 #3
0
 void OnNextClicked(WizardNavigationArgs args)
 {
     NextClicked?.Invoke(args);
 }
예제 #4
0
 void OnPreviousClicked(WizardNavigationArgs args)
 {
     PreviousClicked?.Invoke(args);
 }
예제 #5
0
 public void Setup(WizardNavigationArgs args)
 {
     SetupButtons(args);
 }