private void frmMantenimientoMaternidad_Load(object sender, EventArgs e)
        {
            int a = dato.getIdSiguiente();
            txtNumero.Text = Convert.ToString(a);

            clsDatosPersona perso = new clsDatosPersona();
            gluEmpleado.Properties.DataSource = perso.ConsultaPersona1(1);

            clsDatosMaternidad mat = new clsDatosMaternidad();

            if (accion == "M")
            {
                Set();
            }
            if (accion == "E")
            {
                Set();
            }

            // TODO: This line of code loads data into the 'tECAv8DataSet6.Estado' table. You can move, or remove it, as needed.

            // TODO: This line of code loads data into the 'tECADataSet3.Estado' table. You can move, or remove it, as needed.

            Seguridad();
        }
 public void Cargar()
 {
     clsDatosPersona   Persoana = new clsDatosPersona ();
     gdPersona .DataSource = Persoana.ConsultaPersona1(band);
 }