Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (this.LrfCheckBox.Checked == true)
            {
                LidarForm lidarForm = new LidarForm();
                lidarForm.Show();
            }

            if (this.MvCheckBox.Checked == true)
            {
                VisionForm visionForm = new VisionForm();
                visionForm.Show();
            }

            if (this.IntegratedCheckBox.Checked == true)
            {
                IntegratedForm integratedForm = new IntegratedForm();
                integratedForm.Show();
            }

            if (this.BodyCheckBox.Checked == true)
            {
                BodyForm bodyForm = new BodyForm();
                bodyForm.Show();
            }
        }
Exemplo n.º 2
0
        private void Main_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar == Convert.ToChar("q"))
            {
                this.Close();
            }

            if (e.KeyChar == Convert.ToChar("i"))
            {
                IntegratedForm integratedForm = new IntegratedForm();
                integratedForm.Show();
            }
        }