/// <summary> /// Closes the viewport form /// </summary> public static void CloseViewPort() { if (m_threadViewPort != null) { m_ViewPort.CloseViewPort(); m_ViewPort = null; m_threadViewPort = null; } }