Above is the use of the panel in LabVIEW, in LabVIEW, the panel plus dynamic call technology can solve a lot of problems.
For me, just contact C #, how to implement Pannel dynamic loading interface, is also a must first overcome the difficulty.
After their tireless groping, the panel's usage is now collated as follows for subsequent reference use:
Drag the Panel container to the interface
New Login (); false ; This . Panel1. Controls.Add (FRM1); Frm1. Show ();
Where login is the login interface program.
In fact, it is very simple to implement the first initialization of Interface 2, the interface 2 TopLevel set false. Loading interface 2 into a container
The implementation effect is as follows:
Note: On the interface is to borrow someone else's program to change. Original Author blog address: http://www.cnblogs.com/haiyabtx/
"LabVIEW to C # 5" Subpanel C # Usage Panel