示例#1
0
        private void calibrate_Click(object sender, EventArgs e)
        {
            ArrayList i = new ArrayList();

            //i.Add(config.getProfile(bubble.profileInUse).toolTips);
            i.Add(toolTip1.Active);
            i.Add(CameraRig.getCam(selectedWebcam).camNo);
            //System.Diagnostics.Debug.WriteLine("cam sent: " + Convert.ToString(i[1]));

            calibrate calibrate = new calibrate(postCalibrate, i);

            calibrate.StartPosition = FormStartPosition.CenterScreen;
            calibrate.ShowDialog();
        }
        private void calibrate_Click(object sender, EventArgs e)
        {
            ArrayList i = new ArrayList();

            //i.Add(config.getProfile(bubble.profileInUse).toolTips);
            i.Add(toolTip1.Active);
            i.Add(CameraRig.getCam(selectedWebcam).cam);
            //System.Diagnostics.Debug.WriteLine("cam sent: " + Convert.ToString(i[1]));

            calibrate calibrate = new calibrate(postCalibrate, i);
            calibrate.StartPosition = FormStartPosition.CenterScreen;
            calibrate.ShowDialog();
        }