public UIValueEditor(int x, int y, int width, Settings.Setting targetSetting) : base(x, y, width, 40)
            {
                setting = targetSetting;
                var box = new TextBox
                {
                    Location    = new Point(0, 20),
                    BackColor   = UITheme.buttonBottom,
                    ForeColor   = Color.White,
                    BorderStyle = BorderStyle.FixedSingle
                };

                textBox              = box;
                textBox.TextChanged += textBox_TextChanged;
                textBox.Text         = targetSetting.value.ToString();
                base.Controls.Add(textBox);
            }
 public UICheckBox(int x, int y, string buttonText, Settings.Setting targetSetting) : base(x, y, 70, 20)
 {
     _buttonText = buttonText;
     box         = new Rectangle(3, 3, 13, 13);
     setting     = targetSetting;
 }