Пример #1
0
 protected override void OnStarting(object sender, EventArgs e)
 {
     _window = new Window();
     _window.GetRenderTargets()
         .ForEach(x => Application.Current.Add(new Viewport(x, new BrowserDelegate())));
     _window.Show();
 }
Пример #2
0
 public WinformsBootstrapper()
 {
     _window = new Window {
         StartupUri = new Uri("spectre://localhost/Views/index.html")
     };
 }
Пример #3
0
 public IpcBrowserDelegate(Window window)
 {
     _window = window;
 }