/// <summary> /// MouseDownEvent /// </summary> /// <param name="args">MouseClickEventArgs</param> protected override void MouseDownEvent(Skill.Framework.UI.MouseClickEventArgs args) { // show properties when used select this event if (args.Button == Skill.Framework.UI.MouseButton.Left) { InspectorProperties.Select(this); } base.MouseDownEvent(args); }
protected override void MouseDownEvent(Skill.Framework.UI.MouseClickEventArgs args) { if (args.Button == Skill.Framework.UI.MouseButton.Left) { if (_MenuBar != null) { _MenuBar.ActiveItem = this; } } base.MouseDownEvent(args); }