コード例 #1
0
 private void setupChrome(){
     Dispatcher.adopt(delegate {
       if (!WebCore.IsRunning)
       {
         WebCore.Initialize(chromeConfig);
       }
       if (chromeBrowser != null)
       {
               chromeBrowser.Unloaded -= unloadBrowserHandler;
               chromeBrowser.Crashed -= crashBrowserHandler;
               chromeBrowser.PluginCrashed -= pluginCrashedHandler; 
               chromeBrowser.Close();
               browserContainer.Children.Clear();
       }
       chromeBrowser = new WebControl();
       chromeBrowser.Crashed += crashBrowserHandler;
       chromeBrowser.Unloaded += unloadBrowserHandler;
       chromeBrowser.PluginCrashed += pluginCrashedHandler;
       browserContainer.Children.Add(chromeBrowser);
     });
 }
コード例 #2
0
 public WebControlLayer( WebControl parent )
 {
     parentControl = parent;
 }
コード例 #3
0
 internal WebControlInvalidLayer( WebControl parent )
     : base( parent )
 {
     this.DataContext = parent;
 }