public VistaMenuControl() : base() { // designer call: InitializeComponent(); // control styles: this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer | ControlStyles.SupportsTransparentBackColor | ControlStyles.ResizeRedraw | ControlStyles.UserPaint, true); this.items = new VistaMenuItems(this); }