Example #1
0
 protected virtual void FireMouseInput(object sender, smartEdit.Core.MouseInputEventArgs e)
 {
     smartEdit.Core.MouseInputEventHandler handler = EventMouseInput;
     if (handler != null)
     {
         handler(sender, e);
     }
 }
        public virtual void OnMouseInput(object sender, MouseInputEventArgs e)
        {
            if (e.MouseArg.Clicks == 2)  //doubleclick

            {
            }
            else if (e.MouseArg.Clicks == 0)    //MouseHoover

            {
            }
        }
Example #3
0
 public virtual void OnMouseInput(object sender, MouseInputEventArgs e) {
     if (e.MouseArg.Clicks == 2) {//doubleclick
         Core.ShapeInterface Shape = GetModel().GetShapeAtPoint(
                  e.MouseArg.Location, false);
         if (Shape != null) {
             Shape.ShowEditor();
         };
     } else if (e.MouseArg.Clicks == 0) {//MouseHoover 
         Core.ShapeInterface Shape = GetModel().GetShapeAtPoint(
                 e.MouseArg.Location, false);
         /* if (Shape != null)
          {
              Shape.ShowSizers(true);
          };*/
     }
 }