private void openInLeveleditorToolStripMenuItem_Click(object sender, EventArgs e) { int n = listBox1.SelectedIndex; if (n == -1) { return; } DBEntry d = database[n]; LevelEditor.Leveleditor led = new LevelEditor.Leveleditor(); led.MdiParent = this.MdiParent; led.Show(); led.WindowState = FormWindowState.Maximized; led.LoadPCC(d.filepath); }
private void openInLeveleditorToolStripMenuItem_Click(object sender, EventArgs e) { int n = listBox1.SelectedIndex; if (n == -1) return; DBEntry d = database[n]; LevelEditor.Leveleditor led = new LevelEditor.Leveleditor(); led.MdiParent = this.MdiParent; led.Show(); led.WindowState = FormWindowState.Maximized; led.LoadPCC(d.filepath); }