public ColorPicker() { this.DrawMode = DrawMode.OwnerDrawFixed; this.DropDownStyle = ComboBoxStyle.DropDownList; // DropDownList this.DropDownHeight = 1; this.Items.AddRange(StaticLists.ColorList); Font = new Font("Arial", 8, FontStyle.Bold | FontStyle.Italic); _DropListBox = new ColorPickerPopup(this); }
public ColorPicker() { this.DrawMode = DrawMode.OwnerDrawFixed; this.DropDownStyle = ComboBoxStyle.DropDownList; // DropDownList this.DropDownHeight = 1; this.Items.AddRange(StaticLists.ColorList); Font = new Font("Arial", 8, FontStyle.Bold | FontStyle.Italic); _DropListBox = new ColorPickerPopup(this); }