コード例 #1
0
 public static MapWindowForm GetInstance()
 {
     if (_instance == null)
     {
         _instance = new MapWindowForm();
     }
     return(_instance);
 }
コード例 #2
0
        private void OnWindowClosing(object sender, CancelEventArgs e)
        {
            if (!MapWindowManager.MapStateFileExists)
            {
                SaveMapState();
            }
            _instance = null;
            this.SavePlacement();

            GPXMappingManager.RemoveAllFromMap();
            TripMappingManager.Cleanup();
            GPXMappingManager.Cleanup();
            ParentWindow.ResetDataGrids();
            MapWindowManager.CleanUp();
            ParentWindow.Focus();
        }
コード例 #3
0
 private void OnWindowClosed(object sender, EventArgs e)
 {
     _instance = null;
 }