Exemple #1
0
        private void btnLogin_Click(object sender, EventArgs e)
        {
            ClientLogin clientLogin = new ClientLogin();

            clientLogin.ShowDialog();
            if (clientLogin.LogOnBot != null)
            {
                pr = clientLogin.LogOnBot;
            }
        }
Exemple #2
0
 private void btnFindAndReplace_Click(object sender, EventArgs e)
 {
     if (pr == null || pr.GetSite == null)
     {
         ClientLogin clientLogin = new ClientLogin();
         clientLogin.ShowDialog();
         if (clientLogin.LogOnBot != null)
         {
             pr = clientLogin.LogOnBot;
         }
         pr.SetSite(clientLogin.logonBotSite);
     }
     //pr.FindAndReplaceThread();
     RunBotWatcher();
 }
Exemple #3
0
 public BotWatcher(Site site)
 {
     InitializeComponent();
     pr = new BotScript(site);
 }
Exemple #4
0
 public BotWatcher()
 {
     InitializeComponent();
     pr = new BotScript();
 }