/// <summary>
        ///   Shows the window that allows specifying the properties of a new map to create.
        /// </summary>
        public void ExecuteNew()
        {
            if (this.newMapWindow == null || !this.newMapWindow.IsLoaded)
            {
                this.newMapWindow = new NewMapWindow();
                this.newMapWindow.SetMapTileTypes(this.tileTypes.Keys);
            }

            this.newMapWindow.Show();
            this.newMapWindow.Focus();
        }
Example #2
0
 public void ExecuteNew()
 {
     if (this.newMapWindow == null || !this.newMapWindow.IsLoaded)
     {
         this.newMapWindow = new NewMapWindow();
     }
     newMapWindow.Show();
 }