public void SetInput(double x, double y) { var tool = this.m_windowUI.Child as DockableWindowCoordinateConversion; if(tool == null) return; tool.input.Text = String.Format("{0:0.0####} {1:0.0####}", y, x); }