private void Form1_Load(object sender, EventArgs e)
{
this.MaximizeBox = false; //禁用"最大化"按钮
this.FormBorderStyle = FormBorderStyle.FixedDialog; //设置窗体边框样式为对话框样式
}
private void Form1_Load(object sender, EventArgs e)
{
this.MaximizeBox = false; //禁用"最大化"按钮
this.FormBorderStyle = FormBorderStyle.FixedDialog; //设置窗体边框样式为对话框样式
}