I am creating a program which has an installer-like interface. Is it better to implement it with ShowDialog
method of Form
class or doing an MDI interface? Below are the ways I tried to do it using the ShowDialog
method, and the problems I have with them:
1) First form ShowInTaskbar
property is set to true
, other form is set to false
. Form is shown by .ShowDialog()
method in response to button "Next>"
click event, click event of "<Back"
button invokes .Close()
method. In this case forms appear in modal mode, it's bad experience for me.
2) All forms have ShowInTaskbar
property set to true; form is shown by .ShowDialog()
method in response to click event of button "Next>"
(same event handler sets .Visible=false
to hide the form); on click event of "<Back"
button invoke .Close()
method. In this case when pressing Next
or Back
closing and opening a new window is visible in the in the task bar.