protected override void InitControl() { base.InitControl(); if (Bounds.IsEmpty) { bounds = new System.Drawing.Rectangle(0, 0, 240, 300); } buttons = new ButtonCollection(null); buttons.ListChanged += new System.ComponentModel.ListChangedEventHandler(buttons_ListChanged); }
protected override void InitControl() { buttons = new ButtonCollection(this); base.InitControl(); }