示例#1
0
 public override void DoMove(GoView view, PointF origLoc, PointF newLoc)
 {
     try
     {
         base.DoMove(view, origLoc, newLoc);
         view.Refresh();
         view.BeginUpdate();
         AdjustPositions(this, new SizeF(newLoc - new SizeF(origLoc)));
         view.EndUpdate();
     }
     catch (Exception ex)
     {
         IoC.Resolve <IExceptionManager>().LogException(ex);
     }
 }