class AutoSizeFormClass { //(1).声明结构,只记录窗体和其控件的初始位置和大小。 public struct controlRect { public int Left; public int Top; public int Width; public int Height; } //(2).声明 1个对象 //注意这里不能使用控件列表记录 List<Control> nCtrl;,因为控件的关联性,记录的始终是当前的大小。 public List<controlRect> oldCtrl; //int ctrl_first = 0; // Read More
posted @ 2013-01-29 08:34
指尖的流星
Views(384)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号