internal void SelectFirstPage() { _selectedPage = 0; AdvancedWizardPage page = WizardPages[_selectedPage]; page.BringToFront(); SetButtonStates(); }
internal void SelectWizardPage(AdvancedWizardPage page) { if (!WizardPages.Contains(page)) { return; } _selectedPage = WizardPages.IndexOf(page); page.BringToFront(); SetButtonStates(); }
internal void SelectNextPage() { if (_selectedPage >= WizardPages.Count - 1) { return; } _selectedPage++; AdvancedWizardPage page = WizardPages[_selectedPage]; page.BringToFront(); SetButtonStates(); }
internal void SelectPreviousPage() { if (_selectedPage <= 0) { return; } _selectedPage--; AdvancedWizardPage page = WizardPages[_selectedPage]; page.BringToFront(); SetButtonStates(); }
internal void SelectWizardPage(int index) { if (index < 0 || index > WizardPages.Count) { return; } _selectedPage = index; AdvancedWizardPage page = WizardPages[index]; page.BringToFront(); SetButtonStates(); }
private static void DisplayPage(AdvancedWizardPage page) { page.Dock = DockStyle.Fill; page.BringToFront(); }