예제 #1
0
        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();
        }
예제 #2
0
 public void Interpreter()
 {
     int n = GetSelected();
     if (n == -1)
         return;
     Interpreter2.Interpreter2 ip = new Interpreter2.Interpreter2();
     ip.MdiParent = this.MdiParent;
     ip.pcc = pcc;
     ip.Index = n;
     ip.InitInterpreter();
     ip.Show();
 }
예제 #3
0
        public void Interpreter()
        {
            int n = GetSelected();

            if (n == -1)
            {
                return;
            }
            Interpreter2.Interpreter2 ip = new Interpreter2.Interpreter2();
            ip.MdiParent = this.MdiParent;
            ip.pcc       = pcc;
            ip.Index     = n;
            ip.InitInterpreter();
            ip.Show();
        }
예제 #4
0
 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();
 }