public void Load(Point topLeft, Size size)
 {
     position  = topLeft;
     this.size = size;
     rect.Load(topLeft, size);
     textSet = false;
 }
예제 #2
0
 public void Load(Point position, Size size, int borderWidth = 4)
 {
     this.position    = position;
     this.size        = size;
     this.borderWidth = borderWidth;
     rect.Load(position, size);
 }