private void button1_Click(object sender, EventArgs e) { if (checkBox1.CheckState == CheckState.Indeterminate) { for (int i = 0; i < logins.Length; i++) { if (textBox1.Text == logins[i]) { login = logins[i]; ilogin = i; } } if (textBox2.Text == passs[ilogin]) { this.Hide(); Captcha cp = new Captcha(); cp.Close(); MPlayer mp = new MPlayer(); mp.Show(); } } }