public void RefreshLayout() { if (From == null || Target == null) { return; } LayoutData = GetLayoutInfo(LayoutData.CP1, LayoutData.CP2); Bounds = LayoutData.GetFullBounds(); }