标签:pre order arp stat csharp form image 实现 use
实现效果:
知识运用:
窗体的WindowState属性 和FormBorderStyle属性
实现代码:
private void Form1_MouseDoubleClick(object sender, MouseEventArgs e) { bool Validate=(this.WindowState==FormWindowState.Maximized); if(Validate){ this.FormBorderStyle = FormBorderStyle.Sizable; this.WindowState = FormWindowState.Normal; }else{ this.FormBorderStyle = FormBorderStyle.None; this.WindowState = FormWindowState.Maximized; } }
标签:pre order arp stat csharp form image 实现 use
原文地址:https://www.cnblogs.com/feiyucha/p/10123316.html