Пример #1
0
 /// <summary>
 /// Adds a control to the x/y of the panel ensuring the row/column is created
 /// </summary>
 /// <param name="panel"></param>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <param name="control"></param>
 public static void AddControl(this TableLayoutPanel panel, Control control, int x, int y)
 {
     panel.EnsureSize(x + 1, y + 1);
     panel.Controls.Add(control, x, y);
 }