/// <summary> /// Initializes a new instance of the <see cref="DXMenu"/> class. /// </summary> /// <param name="controlHost"></param> /// <param name="parent"></param> public DXMenu(IDirectXControlHost controlHost, DXControl parent) : base(controlHost, parent) { this.menuItems = new DXControlCollection(); this.menuItems.CollectionChanged += new CollectionChangeEventHandler(MenuItemsCollectionChanged); this.BackColor = Color.Tan; this.BackColor2 = Color.Tan; this.ForeColor = Color.White; }
/// <summary> /// Initializes a new instance of the <see cref="DXContainerControl"/> class. /// </summary> /// <param name="controlHost"></param> /// <param name="parent"></param> public DXContainerControl(IDirectXControlHost controlHost, DXControl parent) : base(controlHost, parent) { this.controls = new DXControlCollection(); }