Esempio n. 1
0
        void osf_SerialSelected(OpenSerialForm.SerialSelectedEventArgs e)
        {
            var cam = new Cameras(e.Port, e.Rate)
            {
                CameraName = "Camera",
                Position = new Point()
            };

            listBox1.Items.Add(cam);

            // Start the streaming
            cam.Start();
        }