private void TransferFileName() { //public ImageToDb(string filePathName, string dataMatrix, string tableName, int numOfImage) var ImageToDb = new ImageToDb(FilePath); ImageToDb.Show(); }
private void TakeSnapshotButton_Click(object sender, RoutedEventArgs e) { //Take snapshot of webcam video. WebcamViewer.TakeSnapshot(); FilePath = (WebcamViewer.TakeSnapshot()); var ImageToDb = new ImageToDb(FilePath); ImageToDb.Show(); }