Home > Backend Development > C#.Net Tutorial > C# Create MDI form (graphics and text)

C# Create MDI form (graphics and text)

PHPz
Release: 2017-04-03 11:38:42
Original
3231 people have browsed it

Open VS to create a WindowsForm program:


##Modify the formProperties: Find the IsMdiContainer property and change it to True:

Next we create a

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!

Related labels:
c#
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template