private void pCCEditorToolStripMenuItem_Click(object sender, EventArgs e) { PCCEditor ed = new PCCEditor(); ed.MdiParent = this; ed.Show(); ed.WindowState = FormWindowState.Maximized; }
private void openInPCCEditorToolStripMenuItem_Click(object sender, EventArgs e) { int l = CurrentObjects[listBox1.SelectedIndex]; if (l == -1) { return; } PCCEditor p = new PCCEditor(); p.MdiParent = this.MdiParent; p.WindowState = FormWindowState.Maximized; p.Show(); p.pcc = new PCCObject(CurrentFile); p.CurrentView = 2; p.RefreshView(); p.listBox1SelectIndex(l); }
private void openInPCCEditorToolStripMenuItem_Click(object sender, EventArgs e) { int l = CurrentObjects[listBox1.SelectedIndex]; if (l == -1) return; PCCEditor p = new PCCEditor(); p.MdiParent = this.MdiParent; p.WindowState = FormWindowState.Maximized; p.Show(); p.pcc = new PCCObject(CurrentFile); p.CurrentView = 2; p.RefreshView(); p.listBox1SelectIndex(l); }