Пример #1
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     btn.Content = "";
     btn_Click(null, null);
     rfid.ReadEpcSection();
     cam.Close();
     try
     {
         System.Threading.Thread.Sleep(400);
     }
     catch (Exception)
     {
     }
 }
Пример #2
0
 private void Button5_Click(object sender, RoutedEventArgs e)
 {
     camera.Close();
 }