public IWindow MoveSync(IWindow iWindow, IRectangle rectangle) { if (OnMoveSync != null) { return(OnMoveSync(iWindow, rectangle)); } else { var window = FindOwnWindow(iWindow); if (window != null) { window.RectangleCurrent = rectangle.Clone(); return(window.Clone()); } return(null); } }