C#应用编程小例子-02-窗体最大化和最小化窗体大小
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Ex01 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { this.MaximumSize = new Size(400,400); this.MinimumSize = new Size(300,300); } } }

本文来自博客园,作者:landv,转载请注明原文链接:https://www.cnblogs.com/landv/p/10237598.html

浙公网安备 33010602011771号