Example #1
0
        public override void OnRelativeDrawingMove(RelativeDrawing relDraw)
        {
            EventPath ep = this.Parent as EventPath;

            if (ep != null)
            {
                ep.NotifyCurrentChanges();
            }
        }
Example #2
0
 public override void OnRelativeDrawingMouseDown(RelativeDrawing relDraw, MouseEventArgs e)
 {
     if (!(relDraw is EventIcon))
     {
         _mouseDownSender = relDraw;
         try
         {
             OnMouseDown(e);
         }
         finally
         {
             _mouseDownSender = null;
         }
     }
 }
Example #3
0
 public void SaveIconLocations()
 {
     foreach (Control c in Controls)
     {
         ActiveDrawing ad = c as ActiveDrawing;
         if (ad != null)
         {
             ad.SaveLocation();
         }
         RelativeDrawing rd = c as RelativeDrawing;
         if (rd != null)
         {
             rd.SaveRelativePosition();
         }
     }
 }
Example #4
0
 public override void OnRelativeDrawingMouseDown(RelativeDrawing relDraw, MouseEventArgs e)
 {
     OnMouseDown(e);
 }
Example #5
0
 public override void OnRelativeDrawingMouseLeave(RelativeDrawing relDraw)
 {
     refreshLabel();
 }
Example #6
0
 public override void OnRelativeDrawingMouseDoubleClick(RelativeDrawing relDraw, MouseEventArgs e)
 {
     rename();
 }