示例#1
0
 private void loginButton_Click(object sender, EventArgs e)
 {
     if (worker.loginSite(Text, username_TxtBox.Text, password_TxtBox.Text))
     {
         Success      = true;
         DialogResult = DialogResult.OK;
         Close();
         return;
     }
     MessageBox.Show("Login Failed");
 }
示例#2
0
 private void loginButton_Click(object sender, EventArgs e)
 {
     if (worker.loginSite(Text, username_TxtBox.Text, password_TxtBox.Text, captcha_TxtBox.Text))
     {
         Success      = true;
         DialogResult = DialogResult.OK;
         Close();
         return;
     }
     MessageBox.Show("Login Failed");
     Sites.LoginData data = worker.GetLoginData("furaffinity");
     captcha_PicBox.Image = data.Captcha;
 }