M
Mike Bresnahan
I am creating a setup/installation wizard using C# and Windows.Forms. The
application consists of a single form which displays multiple wizard
"pages". The pages are displayed one at a time when the user clicks on the
Back and Next buttons. Only one page is visible at any one time. How
should I design this application with the Visual Studio .NET designer?
My first idea was to create a multiple classes that derive from Panel, one
for each different wizard page and one for the 3 buttons that appear on
every wizard page. However, I cannot design a panel in the Visual Studio
..NET designer. I can only design a Form, Control, or UserControl.
My second idea was to create multiple classes that derive from UserControl,
one for each different wizard page and one for the 3 buttons that appear on
every wizard page. However, I don't understand how to drag and drop my
custom user controls onto my other GUI objects. It appears I have to put my
controls in a separate library project and then reference the resulting
assembly. Having two projects instead of one seems overly complex.
Is there a better solution?
Mike Bresnahan
application consists of a single form which displays multiple wizard
"pages". The pages are displayed one at a time when the user clicks on the
Back and Next buttons. Only one page is visible at any one time. How
should I design this application with the Visual Studio .NET designer?
My first idea was to create a multiple classes that derive from Panel, one
for each different wizard page and one for the 3 buttons that appear on
every wizard page. However, I cannot design a panel in the Visual Studio
..NET designer. I can only design a Form, Control, or UserControl.
My second idea was to create multiple classes that derive from UserControl,
one for each different wizard page and one for the 3 buttons that appear on
every wizard page. However, I don't understand how to drag and drop my
custom user controls onto my other GUI objects. It appears I have to put my
controls in a separate library project and then reference the resulting
assembly. Having two projects instead of one seems overly complex.
Is there a better solution?
Mike Bresnahan