/// <summary> /// Initializes a new instance of the /// <see cref="GroupBoxPanel" /> /// class. /// </summary> /// <param name="size">The size.</param> /// <param name="location">The location.</param> /// <param name="parent">The parent.</param> public GroupBoxPanel(Size size, Point location, Control parent) : this() { Size = SizeConfig.GetSize(size); Location = ControlConfig.GetLocation(location); Parent = ControlConfig.GetParent(parent); Parent.Controls.Add(this); }
/// <summary> /// Initializes a new instance of the /// <see cref="GroupBoxPanel" /> /// class. /// </summary> /// <param name="size">The size.</param> /// <param name="parent">The parent.</param> public GroupBoxPanel(Size size, Control parent = null) : this() { Size = SizeConfig.GetSize(size); if (parent != null) { Parent = ControlConfig.GetParent(parent); Parent.Controls.Add(this); } }
/// <summary> /// Initializes a new instance of the /// <see cref="GroupBoxPanel" /> /// class. /// </summary> /// <param name="location">The location.</param> /// <param name="parent">The parent.</param> public GroupBoxPanel(Point location, Control parent = null) : this() { Location = ControlConfig.GetLocation(location); if (parent != null) { Parent = ControlConfig.GetParent(parent); Parent.Controls.Add(this); } }
/// <summary> /// Initializes a new instance of the <see cref="BudgetGridPanel"/> class. /// </summary> /// <param name="size">The size.</param> /// <param name="location">The location.</param> /// <param name="parent">The parent.</param> public BudgetGridPanel(Size size, Point location, Control parent) : this(size, location) { Parent = ControlConfig.GetParent(parent); Parent.Controls.Add(this); }
/// <summary> /// Initializes a new instance of the /// <see cref="ClockPanel" /> /// class. /// </summary> /// <param name="location">The location.</param> /// <param name="size">The size.</param> /// <param name="parent">The parent.</param> public ClockPanel(Point location, Size size, Control parent) : this(size, location) { Parent = ControlConfig.GetParent(parent); }