private void pCCEditorToolStripMenuItem_Click(object sender, EventArgs e) { PCCEditor ed = new PCCEditor(); ed.MdiParent = this; ed.Show(); ed.WindowState = FormWindowState.Maximized; }
private void pCCEditorToolStripMenuItem_Click(object sender, EventArgs e) { PCCEditor ed = new PCCEditor(); ed.MdiParent = this; ed.Show(); ed.WindowState = FormWindowState.Maximized; }
private void pccEditorToolStripMenuItem_Click(object sender, EventArgs e) { PCCEditor p = new PCCEditor(); taskbar.AddTool(p, Properties.Resources.package_editor_64x64); //taskbar.AddTool doesn't call the override in PCCEditor. p.Show(); }
private void openInPCCEditorToolStripMenuItem_Click(object sender, EventArgs e) { int l = CurrentObjects[listBox1.SelectedIndex]; if (l == -1) { return; } PCCEditor p = new PCCEditor(); taskbar.AddTool(p, Properties.Resources.package_editor_64x64); //taskbar.AddTool doesn't call the override in PCCEditor. p.Show(); p.pcc = new PCCObject(CurrentFile); p.loadPCC(); 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); }
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); }