private void levelEditorToolStripMenuItem_Click(object sender, EventArgs e) { LevelEditor.Leveleditor ed = new LevelEditor.Leveleditor(); ed.MdiParent = this; ed.Show(); ed.WindowState = FormWindowState.Maximized; }
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); }