Professional Documents
Culture Documents
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace RDE
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
public void VALIDAR()
{
if (TEXTMATRICULA.Text != string.Empty && TEXTNOMBRE.Text !=
string.Empty && TEXTAPELLIDO.Text != string.Empty && TEXTCEDULA.Text !=
string.Empty && TEXTDIRECCION.Text != string.Empty && TEXTCELULAR.Text !=
string.Empty && TEXTTELEFONO.Text != string.Empty && TEXTEMAIL.Text !=
string.Empty && TEXTFN.Text != string.Empty && TEXTFI.Text != string.Empty &&
TEXTCOMENTARIO.Text != string.Empty && CBSECTOR.Text != string.Empty && CBTS.Text
!= string.Empty && CBCE.Text != string.Empty && LBCIUDAD.Text != string.Empty &&
CLBPAIS.Text != string.Empty && LBSM.Text != string.Empty)
{
if (RBCASADO.Checked == true || RBSOLTERO.Checked == true &&
RBMAS.Checked == true || RBFEM.Checked == true)
{
if (CBSDO.Checked == true || CBSD.Checked == true)
{
BTMD.Enabled = true;
}
else
{
BTMD.Enabled = false;
}
}
}
else
{
BTMD.Enabled = false;
}
}
private void Form1_Load(object sender, EventArgs e)
{
}
else
{
SC = "SOLTERO";
}
////////////////////////////////////////
//CONDICION PRA EL DATO DE SEXO
if (RBMAS.Checked == true)
{
sx = "MASCULINO";
}
else
{
sx = "FEMENIMO";
}
}
else
{
REC = "Santo domingo";
}
// condicon para solo marcar un recinto
);
MessageBox.Show(datos);
}
}
}