namespace System.Windows.Forms { public class ToolStripDropDownButton : ToolStripDropDownButtonBase { private CustomControls.ToolStripDropDownButton button; public bool ShowDropDownArrow { get => button.ShowDropDownArrow; set => button.ShowDropDownArrow = value; } public ToolStripDropDownButton(string text) : this() { Text = text; } public ToolStripDropDownButton() { button = new(); SetButton(button); button.Click += (s, e) => { if (DropDown.Items.Count > 0 && !DropDown.Visible) DropDown.Show(this); }; } } }