コード例 #1
0
ファイル: Main.cs プロジェクト: chobabo/IidaLabVy446
        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();
            }
        }
コード例 #2
0
ファイル: Main.cs プロジェクト: chobabo/IidaLabVy446
        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();
            }
        }