Hello,
I'm new to VB.NET, so my question may be basic for you.
I'm using MS Visual Studio 2008 (VB) to write an application that runs in Windows CE 5.0.
I have created a project for smart devices with one form (Form1) and I have added a second form (Form2).
In Form1 I have added a panel and a button and I want to display Form2 inside the panel when the user click the button.
This is the base, than I will add other buttons and other forms.
I have searched the web for an answer and in this community I found a post ("Form inside a panel" by Fabio Nov 20 '05) but it doesn't work for me because Form2 has not the property "TopLevel".
I usually write applications for desktop pc using Embarcadero C++ Builder and in that IDE is very easy to do such a thing, it's enough to set the panel as the parent of Form2 and you're done but here it doesn't seem to be so easy, at least for me.
Anybody can help me?
Thanks in advance
Stefano
I'm new to VB.NET, so my question may be basic for you.
I'm using MS Visual Studio 2008 (VB) to write an application that runs in Windows CE 5.0.
I have created a project for smart devices with one form (Form1) and I have added a second form (Form2).
In Form1 I have added a panel and a button and I want to display Form2 inside the panel when the user click the button.
This is the base, than I will add other buttons and other forms.
I have searched the web for an answer and in this community I found a post ("Form inside a panel" by Fabio Nov 20 '05) but it doesn't work for me because Form2 has not the property "TopLevel".
I usually write applications for desktop pc using Embarcadero C++ Builder and in that IDE is very easy to do such a thing, it's enough to set the panel as the parent of Form2 and you're done but here it doesn't seem to be so easy, at least for me.
Anybody can help me?
Thanks in advance
Stefano
Comment