示例#1
0
 public CaptureListFrm(ChromeHelper chrome)
 {
     InitializeComponent();
     Control.CheckForIllegalCrossThreadCalls = false;
     this.chrome = chrome;
     LoadListView();
 }
示例#2
0
 private void Execute()
 {
     if (chrome == null)
     {
         chrome = new ChromeHelper("http://www.10010.com");
         chrome.Init();
         var browser = chrome.CreateBrowser();
         this.Invoke(new Action <Panel>(p =>
         {
             p.Controls.Add(browser);
             p.Update();
         }), this.panel1);
     }
 }