public void LaunchEmpty() { var runner = new CrossThreadRunner(); runner.RunInSta(() => { var configureWindow = new ConfigureWindow(new ConfigureWindowModel()); configureWindow.ShowDialog(); }); }
public void Launch() { var exception = GetException(); var model = new ExceptionWindowModel { ExceptionText = exception.ExceptionHierarchyToString(), }; var runner = new CrossThreadRunner(); runner.RunInSta(() => { var window = new ExceptionWindow(model); window.ShowDialog(); }); }
public void LaunchExisting() { var runner = new CrossThreadRunner(); runner.RunInSta(() => { var configureWindow = new ConfigureWindow (new ConfigureWindowModel { EventInvokerName = "Foo", DependenciesDirectory = "bar", MessageImportance = MessageImportance.High, } ); configureWindow.ShowDialog(); }); }
public void LaunchExisting() { var runner = new CrossThreadRunner(); runner.RunInSta(() => { var configureWindow = new ConfigureWindow (new ConfigureWindowModel { Overwrite = false, IncludeDebugSymbols = false, MessageImportance = MessageImportance.High, } ); configureWindow.ShowDialog(); }); }