Ejemplo n.º 1
0
        public static WebcamController getInstance()
        {
            WebcamController con = new WebcamController();

            con.init();
            return(con);
        }
Ejemplo n.º 2
0
 public WebcamOptions(Dictionary <int, string> devices, Dictionary <int, string> solutions)
 {
     InitializeComponent();
     this.con = new WebcamController();
     show_devices(devices);
     show_solutions(solutions);
 }
Ejemplo n.º 3
0
 public WebcamOptions(Dictionary<int, string> devices, Dictionary<int, string> solutions)
 {
     InitializeComponent();
     this.con = new WebcamController();
     show_devices(devices);
     show_solutions(solutions);
 }
Ejemplo n.º 4
0
        private void webcamPictureToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PixelState.getInstance().set_pictureBox(pictureBox1);
            WebcamController con = WebcamController.getInstance();

            con.setMainForm(this);
            con.openWebcamWindow();
        }
 public void set_deviceTest()
 {
     WebcamController target = new WebcamController(); // TODO: Passenden Wert initialisieren
     KeyValuePair<int, string> selob = new KeyValuePair<int, string>(); // TODO: Passenden Wert initialisieren
     target.set_device(selob);
 }
 public void setMainFormTest()
 {
     WebcamController target = new WebcamController(); // TODO: Passenden Wert initialisieren
     Form1 form = new Form1();
     target.setMainForm(form);
 }
 public void openWebcamWindowTest()
 {
     WebcamController target = new WebcamController(); // TODO: Passenden Wert initialisieren
     target.openWebcamWindow();
 }
 public void WebcamControllerConstructorTest()
 {
     WebcamController target = new WebcamController();
     Assert.IsNotNull(target);
 }
 public void stop_captureTest()
 {
     WebcamController target = new WebcamController(); // TODO: Passenden Wert initialisieren
     target.stop_capture();
 }
 public void set_Webcam_pictureTest()
 {
     WebcamController target = new WebcamController(); // TODO: Passenden Wert initialisieren
     KeyValuePair<int, string> src = new KeyValuePair<int, string>(); // TODO: Passenden Wert initialisieren
     target.set_Webcam_picture(src);
 }
 public static WebcamController getInstance()
 {
     WebcamController con = new WebcamController();
     con.init();
     return con;
 }