Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <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();
 }