T
Tinus
Hello,
I've got a question and have been looking for an answer several days now....
no luck yet :-(
Hopefully someone here can provide me with an answer.
This is what I want to do:
(Using Visual Studio 2003 and language C#)
I created a standard Windows Form with two normal buttons (btn1 and btn2).
When I press btn1 I what to display a panel (with labels, button, etc. in
it) in the main form. But when I press btn2 I what to display a different
panel (with labels, text, etc. in it) on the same location as the previous
one.
For now, I've done this placing the two panel over each other and calling
BringToFront() to display them. But what if I whant to design 5 panels which
all need to be placed on the same location and are the same size....?
The best solution for me would be creating a seperate class for each panel
(layout and code). But I also want to use the Visual Studio designer to
design the panels.
Can somebody here tell me if this is possible?
Thanks in advance!
Tinus
I've got a question and have been looking for an answer several days now....
no luck yet :-(
Hopefully someone here can provide me with an answer.
This is what I want to do:
(Using Visual Studio 2003 and language C#)
I created a standard Windows Form with two normal buttons (btn1 and btn2).
When I press btn1 I what to display a panel (with labels, button, etc. in
it) in the main form. But when I press btn2 I what to display a different
panel (with labels, text, etc. in it) on the same location as the previous
one.
For now, I've done this placing the two panel over each other and calling
BringToFront() to display them. But what if I whant to design 5 panels which
all need to be placed on the same location and are the same size....?
The best solution for me would be creating a seperate class for each panel
(layout and code). But I also want to use the Visual Studio designer to
design the panels.
Can somebody here tell me if this is possible?
Thanks in advance!
Tinus