Пример #1
0
 public WebProcessor(IBotBrowser botBrowser)
 {
     DoubleBuffered  = true;
     Size            = new Size(994, 582);
     _botBrowser     = botBrowser;
     _input          = false;
     _timer          = new Timer();
     _timer.Interval = 25;
     _timer.Tick    += Timer_Tick;
     _mouse          = new Point(0, 0);
 }
Пример #2
0
 /// <summary>
 /// Add configuration to Browser instance.
 /// </summary>
 /// <param name="browser">The browser instance.</param>
 internal static void AddConfiguration(IBotBrowser browser)
 {
     _browserAdapter = browser;
 }