private void label6_Click(object sender, EventArgs e) { if (checkBox1.CheckState != CheckState.Checked && checkBox1.CheckState != CheckState.Indeterminate) { this.Hide(); Captcha cp = new Captcha(); cp.Show(); } }
private void checkBox1_Click(object sender, EventArgs e) { if (checkBox1.CheckState == CheckState.Checked) { this.Hide(); Captcha cp = new Captcha(); cp.Show(); } }