Example #1
0
        private void buttonPrevious_Click(object sender, EventArgs e)
        {
            WizardEventArgs w = new WizardEventArgs("previous", CurrentPage, CurrentPage - 1);

            WizardHostActionEvent?.Invoke(this, w);
            if (w.Cancel == false)
            {
                CurrentPage--;
            }
        }
Example #2
0
        private void buttonNext_Click(object sender, EventArgs e)
        {
            WizardEventArgs w = new WizardEventArgs("next", CurrentPage, CurrentPage + 1);

            WizardHostActionEvent?.Invoke(this, w);
            if (w.Cancel == false)
            {
                CurrentPage++;
            }
        }