Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            OutputViewer OV = new OutputViewer();

            OV.OD         = CCar.OutputData;
            OV.OutputName = "car" + CCar.Id.ToString();
            OV.MdiParent  = F1;
            OV.Show();
        }
Esempio n. 2
0
        private void viewCurrentMachineOutputToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TrafficSimulator ts = GetCurrentMachine();

            if (ts == null)
            {
                MessageBox.Show(" Select a machine first!");
                return;
            }
            OutputViewer ov = new OutputViewer();

            ov.OD         = ts.CLogic.CProcessor.OD;
            ov.OutputName = ts.MachineName;
            ov.MdiParent  = this;
            ov.Show();
        }