核心代码
public MainFrm()
{
InitializeComponent();
//窗体初始化的时候设置窗体属性
this.MaximizedBounds = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea;
}
核心代码
public MainFrm()
{
InitializeComponent();
//窗体初始化的时候设置窗体属性
this.MaximizedBounds = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea;
}