Open VS to create a WindowsForm program:
button in the Form1 window to open a window and see if it is It is not displayed in the Form1 window: double-click the From1 form to create a button in the Form1_Load method, and register a click event for the button: (Create using code here) as shown in the figure: Run Test:
Perfect
##Note:## The MDI window arrangement style uses the following code
LayoutMdi(MdiLayout.Cascade)The above is the detailed content of C# Create MDI form (graphics and text). For more information, please follow other related articles on the PHP Chinese website!