方法1:
Shown事件中:
this.WindowState = FormWindowState.Maximized;
方法2:
Designer.cs中,InitializeComponent()中,
找到 Form名称,后面添加
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
方法1:
Shown事件中:
this.WindowState = FormWindowState.Maximized;
方法2:
Designer.cs中,InitializeComponent()中,
找到 Form名称,后面添加
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;