Example #1
0
 public void OnDragging(ViewControl vc, Point scrPt)
 {
     try
     {
         _nativeManip.OnDragging(vc as GUILayer.IViewContext, scrPt);
     }
     catch (Exception e)
     {
         // we want to report this error as a hover message above "srcPt" in the view control
         Point msgPt = scrPt;
         msgPt.X += 20;
         msgPt.Y -= 20;
         vc.ShowHoverMessage(e.Message, msgPt);
     }
 }