private void SetNewCoordinates() { int newHeight; int newWidth; if (int.TryParse(SetHightTxt.Text, out newHeight) && int.TryParse(SetWidthTxt.Text, out newWidth)) { //SetCoordinates(nodeWrappers, newHeight, newWidth); } myView.Refresh(); }
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); } }