private void Form1_Load(object sender, EventArgs e)
{
this.MaximizeBox = false; //禁用"最大化"按钮
this.FormBorderStyle = FormBorderStyle.FixedDialog; //设置窗体边框样式为对话框样式
}
winform 禁用“最大化”按钮
猜你喜欢
转载自blog.csdn.net/gdali/article/details/81907696
今日推荐
周排行