C#窗口拖动问题
窗口启动的大小问600*480,怎么样设置拖动边框时让窗口的width和height分别不小于600和480.但可以变大。
程序代码: private void Form1_SizeChanged(object sender, EventArgs e)
{
if (this.Width < 600 )
{
this.Width = 600;
}
if (this.Height < 480)
{
this.Height = 480;
}
}









