Пример #1
0
        private void btnLogin_Click(object sender, EventArgs e)
        {
            ClientLogin clientLogin = new ClientLogin();

            clientLogin.ShowDialog();
            if (clientLogin.LogOnBot != null)
            {
                pr = clientLogin.LogOnBot;
            }
        }
Пример #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();
 }