I use Java Applet like an example. When you open a website which has a java applet on web page. The java applet application will run in web page. Applet support to detach itself out of the web page and run as a single instance.
I have a question: If I have a control inside a form, or this control maybe in a lot of other controls. On the form will have a Full Screen button. When user click on it, I want this control will be full screen. HOw to do it? Please give me the solution.
Thanks.
Note: My application is WinFORM C#, .NET 2.0.
A control can’t live outside a form.
In your case the easiest solution would probably to modify the form to make it full screen (i.e. remove borders by changing border style, change position and size to fill the whole screen), and then modify the control to make it fill the form (you can change it’s container to be the form).
Then when you exit full screen mode, restore everything to how it was before.