コード例 #1
0
        private void buttonEditMap_Click(object sender, EventArgs e)
        {
            Definition.Map map  = (Definition.Map) this.comboBoxSelectMap.SelectedValue;
            MapForm        form = new MapForm(this.filepath, map);

            form.ShowDialog();
        }
コード例 #2
0
 public MapForm(string gamePath, Definition.Map currentMap)
 {
     this.Path       = gamePath;
     this.CurrentMap = currentMap;
     this.Text       = Definition.MapNames[currentMap];
     this.InitializeComponent();
     this.PopulateComboBoxTileTypes();
     this.SetupLayout();
     this.SetupTilePalette();
 }