public void CloseDockWindow() { //Write out the XML file that stores the Named Views info _controller.DockWindowClose(); _mapBasicWindow.Close(); }