Click here to Skip to main content
15,921,694 members
Home / Discussions / C#
   

C#

 
QuestionCompact frame work 2.0 Pin
Sri harini1-Oct-06 16:50
Sri harini1-Oct-06 16:50 
AnswerRe: SDK Pin
Christian Graus1-Oct-06 17:46
protectorChristian Graus1-Oct-06 17:46 
GeneralRe: SDK Pin
Christian Graus1-Oct-06 18:11
protectorChristian Graus1-Oct-06 18:11 
QuestionEditing Excel Worksheet Cells Pin
StyrofoamSUV1-Oct-06 16:15
StyrofoamSUV1-Oct-06 16:15 
AnswerRe: Editing Excel Worksheet Cells Pin
Coding C#2-Oct-06 0:52
Coding C#2-Oct-06 0:52 
GeneralRe: Editing Excel Worksheet Cells Pin
StyrofoamSUV2-Oct-06 6:59
StyrofoamSUV2-Oct-06 6:59 
QuestionCreating a wizard form Pin
Mark061-Oct-06 12:44
Mark061-Oct-06 12:44 
AnswerRe: Creating a wizard form Pin
Nader Elshehabi1-Oct-06 14:14
Nader Elshehabi1-Oct-06 14:14 
Hello

I go for the hide/show pattern, but why moving your panels to extreme locations?!! Make all your panels in the designer beside each other -just for designing-, then you got to options:
1- If you are sure that you finished designing all your panels pile them up on top of each other and resize your form to a "fit all" size.
2- If you still want to make adjustments to your panels, keep them apart, and then in your forms constructor move all the panels to Location(0,0) programatically, and resize your form to the "fit all" size.

Now the last line of your constructor would be hide all except first. When the Next/Back buttons are clicked Hide/Show panels accordingly.

About the TabControls you can do that is you make your custom control. Inherit it from the TabControl, and in your custom draw event, don't draw the tab headers. I still prefer the above method.

One more less graceful way is to make a form for each step. It would make your life with the designer easier, but I strongly don't recommend it due to poor performance and memory wasting.

RegardsRose | [Rose]

GeneralRe: Creating a wizard form Pin
Alaric_2-Oct-06 5:30
professionalAlaric_2-Oct-06 5:30 
GeneralRe: Creating a wizard form Pin
Nader Elshehabi2-Oct-06 12:21
Nader Elshehabi2-Oct-06 12:21 
AnswerRe: Creating a wizard form Pin
LongRange.Shooter3-Oct-06 8:06
LongRange.Shooter3-Oct-06 8:06 
Questiontree view control Pin
lagumaster1-Oct-06 12:37
lagumaster1-Oct-06 12:37 
Questionhow do I extract words from a textbox into a file? Pin
roberto_santinni1-Oct-06 10:07
roberto_santinni1-Oct-06 10:07 
AnswerRe: how do I extract words from a textbox into a file? Pin
Christian Graus1-Oct-06 10:22
protectorChristian Graus1-Oct-06 10:22 
AnswerRe: how do I extract words from a textbox into a file? Pin
LongRange.Shooter3-Oct-06 8:09
LongRange.Shooter3-Oct-06 8:09 
QuestionProblems in Deserialization after decompression Pin
Anindya Chatterjee1-Oct-06 7:59
Anindya Chatterjee1-Oct-06 7:59 
Questionhow to print form with Crystal Reports ? Pin
hdv2121-Oct-06 7:53
hdv2121-Oct-06 7:53 
QuestionPassing information from one form to another Pin
kulile1-Oct-06 7:20
kulile1-Oct-06 7:20 
AnswerRe: Passing information from one form to another Pin
Michael P Butler1-Oct-06 8:45
Michael P Butler1-Oct-06 8:45 
GeneralRe: Passing information from one form to another Pin
kulile1-Oct-06 21:43
kulile1-Oct-06 21:43 
QuestionHandling ALT Key on Controls Pin
Vertyg01-Oct-06 6:14
Vertyg01-Oct-06 6:14 
AnswerRe: Handling ALT Key on Controls Pin
Christian Graus1-Oct-06 9:55
protectorChristian Graus1-Oct-06 9:55 
GeneralRe: Handling ALT Key on Controls Pin
Vertyg01-Oct-06 10:12
Vertyg01-Oct-06 10:12 
GeneralRe: Handling ALT Key on Controls Pin
Christian Graus1-Oct-06 10:19
protectorChristian Graus1-Oct-06 10:19 
AnswerRe: Handling ALT Key on Controls Pin
Nader Elshehabi1-Oct-06 14:17
Nader Elshehabi1-Oct-06 14:17 

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.