private void InitializeForms() { LocationsForm = new LocationsForm(this); DockPanel = new DockPanel(); DockPanel = dockPanel; Settings settings = Settings.Default; if (settings.VisualTheme == 0 || settings.VisualTheme == 1) { DockPanel.Theme = new VS2005Theme(); } else if (settings.VisualTheme == 2) { //DockPanel.Theme = new VS2013BlueTheme(); DockPanel.DockPadding.Right = 0; } dockPanel = DockPanel; LocationsForm.Show(dockPanel, DockState.DockRight); WorldMapsForm = new WorldMapsForm(this); WorldMapsForm.Show(dockPanel, DockState.Document); }
private void resetLocation_Click(object sender, EventArgs e) { LocationsForm.Reset(); }
// Editor updating // Saving public void WriteToROM() { Model.ROM[0x037DCF] = (byte)this.music.SelectedIndex; WorldMapsForm.WriteToROM(); LocationsForm.WriteToROM(); }