Example #1
0
 /// <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);
 }
Example #2
0
 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);
 }