private void btnLogin_Click(object sender, EventArgs e) { ClientLogin clientLogin = new ClientLogin(); clientLogin.ShowDialog(); if (clientLogin.LogOnBot != null) { pr = clientLogin.LogOnBot; } }
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(); }
public BotWatcher(Site site) { InitializeComponent(); pr = new BotScript(site); }
public BotWatcher() { InitializeComponent(); pr = new BotScript(); }