public static FFmpegWindow Instance(Window parent, string title, bool autoClose) { FFmpegWindow F = new FFmpegWindow { Owner = parent, title = title, autoClose = autoClose }; F.Show(); return(F); }
public override IUserInterfaceWindow CreateUI(string title, bool autoClose) { return(Application.Current.Dispatcher.Invoke(() => FFmpegWindow.Instance(parent, title, autoClose))); }