求解,代码生成的button如何设定大小啊
比如说
   Button b1 = new Button();
          b1.Height = 10;
          b1.Width = 10;
          b1.Location = new Point(25, 25);
          this.Controls.Add(b1);
这样为啥不行呢?
说空间的Height不是变量,不能改变,我应该怎么做啊?
------解决方案--------------------
后面加一句
  b1.Size = new System.Drawing.Size(100, 50);