//private EventKey _EventKey; public EventKeyView(EventTrackBar trackBar, EventKey key) : base(trackBar, key) { //_EventKey = key; this.ColumnDefinitions.Add(10, Framework.UI.GridUnitType.Pixel); this.ColumnDefinitions.Add(1, Framework.UI.GridUnitType.Star); _Bg = new Framework.UI.Box(); _ImgState = new Skill.Framework.UI.Image() { Row = 0, Column = 0 }; Controls.Add(_Bg); Controls.Add(_ImgState); }
/// <summary> /// Create a MenuBar /// </summary> public MenuBar() { WantsMouseEvents = true; Background = new Skill.Framework.UI.Box(); Background.Parent = this; Orientation = Skill.Framework.UI.Orientation.Horizontal; }