Exemple #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     pictureBox1.Image = Captcha.GenerateImage();
     label1.Text       = $"Answer: {Captcha.CaptchaAnswer}";
     textBox1.Clear();
 }
Exemple #2
0
 public Form1()
 {
     InitializeComponent();
     pictureBox1.Image = Captcha.GenerateImage();
     label1.Text       = $"Answer: {Captcha.CaptchaAnswer}";
 }