public AutomationManagement()
        {
            this.storage = new TaskStorage();
            this.factory = new BrowserFactory(this);

            this.webBrowser = new WebBrowserEx();
            this.webBrowser.NewWindow3 += webBrowser_NewWindow3;
            this.webBrowser.DocumentCompleted += webBrowser_DocumentCompleted;

            timer = new WebBrowserTimer(this.webBrowser);
            timer.Tick += timer_Tick;
            timer.Interval = 10;
            timer.Enabled = false;

            this.backgroundWorker = new BackgroundWorker();
            this.backgroundWorker.WorkerSupportsCancellation = true;
            this.backgroundWorker.DoWork += backgroundWorker_DoWork;
            this.backgroundWorker.RunWorkerCompleted += backgroundWorker_RunWorkerCompleted;
        }
Esempio n. 2
0
 public DWebBrowserEvent2Helper(WebBrowserEx parent)
 {
     this.parent = parent;
 }
Esempio n. 3
0
 public DWebBrowserEvent2Helper(WebBrowserEx parent)
 {
     this.parent = parent;
 }