예제 #1
0
 public void AddControl(Control ctl)
 {
     ctl.Parent = this;
     controls.Add(ctl);
 }
예제 #2
0
 public void RemoveControl(Control ctl)
 {
     ctl.Parent = null;
     controls.Remove(ctl);
 }