private void interpretToolStripMenuItem_Click(object sender, EventArgs e) { int n = listBox1.SelectedIndex; if (listBox1.SelectedIndex == -1) { if (treeView1.SelectedNode == null) { return; } else { n = Convert.ToInt32(treeView1.SelectedNode.Name); } } else { n = CurrentObjects[n]; } Interpreter2.Interpreter2 ip = new Interpreter2.Interpreter2(); ip.MdiParent = this.MdiParent; ip.pcc = pcc; ip.Index = n; ip.InitInterpreter(); ip.Show(); }
public void Interpreter() { int n = GetSelected(); if (n == -1 || !(CurrentView == 2 || CurrentView == 3)) return; Interpreter2.Interpreter2 ip = new Interpreter2.Interpreter2(); ip.MdiParent = this.MdiParent; ip.pcc = pcc; ip.Index = n; ip.InitInterpreter(); ip.Show(); }
public void Interpreter() { int n = GetSelected(); if (n == -1 || !(CurrentView == 2 || CurrentView == 3)) { return; } Interpreter2.Interpreter2 ip = new Interpreter2.Interpreter2(); ip.MdiParent = this.MdiParent; ip.pcc = pcc; ip.Index = n; ip.InitInterpreter(); ip.Show(); }
private void interpretToolStripMenuItem_Click(object sender, EventArgs e) { int n = listBox1.SelectedIndex; if (listBox1.SelectedIndex == -1) { if (treeView1.SelectedNode == null) return; else n = Convert.ToInt32(treeView1.SelectedNode.Name); } else n = CurrentObjects[n]; Interpreter2.Interpreter2 ip = new Interpreter2.Interpreter2(); ip.MdiParent = this.MdiParent; ip.pcc = pcc; ip.Index = n; ip.InitInterpreter(); ip.Show(); }