Exemple #1
0
        protected State lastState; //used in error handling.
        public BotModule(Bot m, IWebDriver b)
        {

            manager = m;
            browser = b;

            init();
        }
Exemple #2
0
 public Consol()
 {
     ts = new ThreadStart(() => bot = new Bot(this));
     threadBot = new Thread(ts);
     threadBot.SetApartmentState(ApartmentState.STA);
     threadBot.Start();
     InitializeComponent();
     richTextBox1.WordWrap = false;
     helpdoc = XDocument.Load(HELPPATH);
     write("Console initialized.");
     
 }