Click here to Skip to main content
15,898,222 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: equivalent Pin
Kevin McFarlane16-Nov-08 8:43
Kevin McFarlane16-Nov-08 8:43 
QuestionOptional asembly Pin
cloudking1196612-Nov-08 19:26
cloudking1196612-Nov-08 19:26 
AnswerRe: Optional asembly Pin
Roger Wright13-Nov-08 1:42
professionalRoger Wright13-Nov-08 1:42 
AnswerRe: Optional asembly Pin
Mark Churchill13-Nov-08 12:49
Mark Churchill13-Nov-08 12:49 
QuestionWarning! Newbie On The Loose! Pin
Roger Wright12-Nov-08 17:17
professionalRoger Wright12-Nov-08 17:17 
AnswerRe: Warning! Newbie On The Loose! Pin
led mike13-Nov-08 6:24
led mike13-Nov-08 6:24 
GeneralRe: Warning! Newbie On The Loose! Pin
Roger Wright13-Nov-08 8:39
professionalRoger Wright13-Nov-08 8:39 
AnswerRe: Warning! Newbie On The Loose! Pin
Gideon Engelberth13-Nov-08 8:27
Gideon Engelberth13-Nov-08 8:27 
Roger Wright wrote:
So far what I've gleaned from MSDN is that I need to instantiate the starting form for each series in the On_Click method for its parent button, then use Show/Hide to render subsequent forms active and visible. Along the way, each form will have to instantiate the next in the series, and each form will have to include code to Close the previous form. Am I on the right track here? Or am I as totally confused as I feel?


As the previous poster mentioned, I would try to get everything in one window and just display the new controls for each step. To do this, you could create a container form then create several UserControls corresponding to the steps in the process. On the container form, you could include Next/Previous type buttons that when clicked, determine where the user is and which UserControl to bring up next. Most likely, you will have a panel of some sort that will hold the current UserControl.

You could create all the UserControls and startup and simply change the Visible property to show and hide the current control, but this would significantly increase load time. You will be better off to create each UserControl when you need it and destroy it when moving to the next one.

If you can use WPF (.NET 3.0), that could simplify the process. WPF has specific infrastructure to create wizard-like applications similar to what you are describing (look for Pages instead of Window).
GeneralRe: Warning! Newbie On The Loose! Pin
Roger Wright13-Nov-08 15:12
professionalRoger Wright13-Nov-08 15:12 
GeneralRe: Warning! Newbie On The Loose! Pin
led mike17-Nov-08 5:30
led mike17-Nov-08 5:30 
GeneralRe: Warning! Newbie On The Loose! Pin
Roger Wright17-Nov-08 11:49
professionalRoger Wright17-Nov-08 11:49 
GeneralRe: Warning! Newbie On The Loose! Pin
led mike18-Nov-08 5:34
led mike18-Nov-08 5:34 
AnswerProblem Solved - for Now Pin
Roger Wright16-Nov-08 4:52
professionalRoger Wright16-Nov-08 4:52 
GeneralRe: Problem Solved - for Now Pin
S. Senthil Kumar16-Nov-08 6:52
S. Senthil Kumar16-Nov-08 6:52 
GeneralRe: Problem Solved - for Now Pin
Roger Wright16-Nov-08 7:49
professionalRoger Wright16-Nov-08 7:49 
QuestionError while sending email [modified] Pin
Vipul Mehta12-Nov-08 3:31
Vipul Mehta12-Nov-08 3:31 
AnswerRe: Error while sending email Pin
Dave Kreskowiak12-Nov-08 3:34
mveDave Kreskowiak12-Nov-08 3:34 
AnswerRe: Error while sending email Pin
Roger Wright13-Nov-08 5:04
professionalRoger Wright13-Nov-08 5:04 
GeneralRe: Error while sending email Pin
Vipul Mehta13-Nov-08 23:41
Vipul Mehta13-Nov-08 23:41 
Question.net newbie - lost in the details.... Pin
charlieg12-Nov-08 2:24
charlieg12-Nov-08 2:24 
AnswerRe: .net newbie - lost in the details.... Pin
Dave Kreskowiak12-Nov-08 3:33
mveDave Kreskowiak12-Nov-08 3:33 
AnswerRe: .net newbie - lost in the details.... Pin
Jon_Boy12-Nov-08 4:20
Jon_Boy12-Nov-08 4:20 
AnswerRe: .net newbie - lost in the details.... Pin
Pete O'Hanlon12-Nov-08 5:13
mvePete O'Hanlon12-Nov-08 5:13 
Question1 computer, 2 nics connected to each other Pin
XenAeon11-Nov-08 10:41
XenAeon11-Nov-08 10:41 
AnswerRe: 1 computer, 2 nics connected to each other Pin
Roger Wright14-Nov-08 4:54
professionalRoger Wright14-Nov-08 4:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.