-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e9d0a52
commit 706cd16
Showing
43 changed files
with
28,075 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
{ | ||
|
||
} | ||
} | ||
} |
Oops, something went wrong.