Exemple #1
0
 private void stnStart_Click(object sender, EventArgs e)
 {
     webcam.Start();
     dekodirao = false;
     BarCodeDetectTimer.Start();
     lblStatus.Text = "Pokrenuta kamera";
 }
Exemple #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         ((CaptureDevice)cboDevices.SelectedItem).Attach(pictureBox1);
         BarCodeDetectTimer.Start();
     }
     catch (Exception)
     {
         statusStrip1.Text = "Morate odabrati uređaj iz liste.";
     }
 }