Пример #1
0
        protected override void CreateWebView()
        {
            WebView = new UI.Controls.WinForms.WebView();
            ((ISupportInitialize)WebView).BeginInit();
            ((ISupportInitialize)WebView).EndInit();

            WebView.ShouldNotBeNull();
            WebView.Process.ShouldNotBeNull();
        }
Пример #2
0
        protected override void CreateWebView()
        {
            WebView = new UI.Controls.WinForms.WebView();
            ((ISupportInitialize)WebView).BeginInit();
            ((ISupportInitialize)WebView).EndInit();

            WebView.ShouldNotBeNull();
            WebView.Process.ShouldNotBeNull();
            WebView.Process.ProcessId.ShouldNotEqual(0U);

            WebView.Process.ProcessExited += (o, e) =>
            {
                _processExitedEventFired = true;
                _mre.Set();
            };
        }
Пример #3
0
 public void CanCreateSecondWebView()
 {
     _webView2.ShouldNotBeNull();
 }