private async void ButtonClose_Click(object sender, RoutedEventArgs e) { ffmpegEngine.StopConversion(); await mediaElementConverted.Close(); await mediaElementOriginal.Close(); if (Directory.Exists($"{Environment.CurrentDirectory}\\temp")) { Directory.Delete($"{Environment.CurrentDirectory}\\temp", true); } Close(); }
private void ButtonClose_Click(object sender, RoutedEventArgs e) { ffmpegEngine.StopConversion(); Close(); }