public static void ShowInstance() { if (_instance == null) { _instance = new FFmpegLogWindow(); _instance.Closed += (S, E) => _instance = null; } _instance.ShowAndFocus(); }
void OpenFFmpegLog(object Sender, RoutedEventArgs E) { FFmpegLogWindow.ShowInstance(); }