Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make wizard pages accessible by GetPage(int number) #7

Open
Seeloewen opened this issue Mar 27, 2024 · 0 comments
Open

Make wizard pages accessible by GetPage(int number) #7

Seeloewen opened this issue Mar 27, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request small tool A small tool that doesn't require much work

Comments

@Seeloewen
Copy link
Owner

Currently, the pages in the wizard are only accessible by directly accessing the array. This is bad practise and can lead to confusion (Page 2 being 1 in array, etc.).
The GetPage(int Number) would access the array and return the page that corresponds with the number minus 1, meaing GetPage(1) would return wizard.pages[0].

@Seeloewen Seeloewen added the enhancement New feature or request label Mar 27, 2024
@Seeloewen Seeloewen self-assigned this Mar 27, 2024
@Seeloewen Seeloewen added the small tool A small tool that doesn't require much work label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request small tool A small tool that doesn't require much work
Projects
Development

No branches or pull requests

1 participant