private void openSequencesListToolStripMenuItem_Click(object sender, EventArgs e) { if (romViewer.IsDisposed) { romViewer = new RomViewer(this); romViewer.Show(); romViewer.writeSongList(rom); } }
private void openRomToolStripMenuItem_Click(object sender, EventArgs e) { OpenFileDialog file = new OpenFileDialog(); file.Filter = "GBA rom | *.gba"; if (file.ShowDialog() == DialogResult.OK) { rom.Path = file.FileName; rom.openRom(new BinaryReader(File.OpenRead(file.FileName))); updateLabelStatus(); romViewer = new RomViewer(this); romViewer.Show(); romViewer.writeSongList(rom); prepareProgram(); } }
private void openRomToolStripMenuItem_Click(object sender, EventArgs e) { OpenFileDialog file = new OpenFileDialog(); file.Filter = "GBA rom|*.gba"; if (file.ShowDialog() == DialogResult.OK) { rom.Path = file.FileName; rom.openRom(new BinaryReader(File.OpenRead(file.FileName))); updateLabelStatus(); romViewer = new RomViewer(this); romViewer.Show(); romViewer.writeSongList(rom); prepareProgram(); } }