Opening another panel on top orignal panel using a button
I need help in doing the following
I have a project1 with a panel with a Button in it. When the button
is selected will call project2 with a panel that has a different form
and place this on the project1 panel.
For example on the main panel has a button "click here"
------------------
| |
| ButtonClick |
| |
| |
| |
| |
------------------
By clicking the button click here will then bring up a new panel over
the orignal one.
------------------
| |
| This is a test |
| |
| |
| |
| Cancel |
------------------
Click on Cancel will bring back the orginal form.
I been looking at User Control but can not figure out how to to do
this.
Is there a simple sample code somewhere like this. I search but could
not find anything.
Any ideas would be helpful
Thanks Marty