public override void Execute() { Thread t = new Thread(() => { _window = new GIFRecorderWindow(); _window.ShowDialog(); }); t.SetApartmentState(ApartmentState.STA); t.IsBackground = true; t.Start(); }
public GIFRecorderViewModel(GIFRecorderWindow window) : this() { _window = window; }