Skip to content

Commit

Permalink
fixed relogin
Browse files Browse the repository at this point in the history
  • Loading branch information
MakcStudio authored Oct 19, 2023
1 parent e9d0a52 commit 706cd16
Show file tree
Hide file tree
Showing 43 changed files with 28,075 additions and 0 deletions.
122 changes: 122 additions & 0 deletions CaptchaForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 51 additions & 0 deletions CaptchaForm.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Steam_Desktop_Authenticator
{
public partial class CaptchaForm : Form
{
public bool Canceled = false;
public string CaptchaGID = "";
public string CaptchaURL = "";
public string CaptchaCode
{
get
{
return this.txtBox.Text;
}
}

public CaptchaForm(string GID)
{
this.CaptchaGID = GID;
this.CaptchaURL = "https://steamcommunity.com/public/captcha.php?gid=" + GID;
InitializeComponent();
this.pictureBoxCaptcha.Load(CaptchaURL);
}

private void btnAccept_Click(object sender, EventArgs e)
{
this.Canceled = false;
this.Close();
}

private void btnCancel_Click(object sender, EventArgs e)
{
this.Canceled = true;
this.Close();
}

private void CaptchaForm_Load(object sender, EventArgs e)
{

}
}
}
Loading

0 comments on commit 706cd16

Please sign in to comment.