private void btn_aceptar_Click(object sender, EventArgs e) { if (txt_razonsocial.Text == "") { MessageBox.Show("Usuario No Puede Ir en Blanco"); txt_razonsocial.Select(); txt_razonsocial.Focus(); this.errorusuario.Visible = true; } else { if (txt_nombre.Text == "") { MessageBox.Show("UsuarioINcorre"); this.errorclave.Visible = true; } else { if (txt_telefono.Text == "") { MessageBox.Show("Proporcione un Telefono"); this.errorclave.Visible = true; this.errorclave2.Visible = true; } else { if (txt_telefono.Text == "") { MessageBox.Show("Proporcione un Telefono"); txt_nombre.Select(); txt_nombre.Focus(); this.errornombre.Visible = true; } else { FrmEmpresaInfo paso2 = new FrmEmpresaInfo(); paso2.Show(); this.Hide(); } this.errorclave2.Visible = false; } this.errorclave.Visible = false; } this.errorclave.Visible = false; } this.errorusuario.Visible = false; }