private void btnSetAuth_Click(object sender, EventArgs e) { FormAuthenLogin al = new FormAuthenLogin(m_authLogin); if (al.ShowDialog() == DialogResult.OK) { chkAuthentication.Checked = true; } }