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) { } }
private void Button5_Click(object sender, RoutedEventArgs e) { camera.Close(); }