private Label GenerateTableHeading(string text)
        {
            var label = new GUIControlWrapper <Label>();

            label.Text = text;
            label.control.TextAlign = ContentAlignment.MiddleCenter;
            label.control.Font      = label.ConstructFont(fontSize: 8, bold: true);

            return(label.control);
        }
        // Generates a Form Control of specific type T with the given parameters; makes instantiating new Controls easier to read
        public static GUIControlWrapper <T> CreateControl <T>(int width, int height, int xPosition, int yPosition, AnchorStyles anchor = 0, int fontSize = 9) where T : System.Windows.Forms.Control, new()
        {
            var newControl = new GUIControlWrapper <T>(width, height);

            newControl.SetPosition(xPosition, yPosition);

            newControl.SetAnchor(anchor);

            newControl.control.Font = newControl.ConstructFont(fontSize);

            return(newControl);
        }
 public void SetOutputFontStyle(int fontSize = 12, bool bold = false)
 {
     output.control.SelectionFont = output.ConstructFont(fontSize, bold);
 }