Beispiel #1
0
 private void openSequencesListToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (romViewer.IsDisposed)
     {
         romViewer = new RomViewer(this);
         romViewer.Show();
         romViewer.writeSongList(rom);
     }
 }
Beispiel #2
0
        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();
            }
        }
Beispiel #3
0
 private void openSequencesListToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (romViewer.IsDisposed)
     {
         romViewer = new RomViewer(this);
         romViewer.Show();
         romViewer.writeSongList(rom);
     }
 }
Beispiel #4
0
        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();
            }
        }