private void ABMInscripcionCursos_Load(object sender, EventArgs e)
        {
            try
            {
                this.txtDni.Text   = _dni;
                this.txtPunto.Text = _punto;
                //Cargar Tipo de clase
                this._cursos = new ClassCursos();
                this._cursos.idtipodeclase = "0";
                this._cursos.tipodeclase   = "";
                this._cursos.idpunto       = this._idpunto;

                this._clases = new ClassTiposDeClases();

                this._clases.idclase       = "0";
                this._clases.idtipodeclase = "1";
                this._clases.nombreclase   = "";

                DataTable _todasclases = this._clases.BuscarTiposDeClases(this._clases);

                //Agrupar o borrar las filas repetidas de la lista que se recupera de la consulta
                _todasclases = this._clases.EliminarFilasDuplicadas(_todasclases, "tipodeclase");

                //Muestra datos en el combo
                this.cbTipoClase.DataSource    = _todasclases;
                this.cbTipoClase.ValueMember   = "idtipodeclase";
                this.cbTipoClase.DisplayMember = "tipodeclase";

                this.txtFechaPago.Text = DateTime.Now.ToString("dd/MM/yyyy");

                if ((this._bandera == "M") || (this._bandera == "B"))
                {
                    this._resp = new DataSet();
                    this._resp = this._cursos.BuscarInscripcionesCursosSocios(this._idcurso, this._dni, "Inscripciones");

                    this.txtDni.Text      = this._resp.Tables["Inscripciones"].Rows[0][1].ToString();
                    this.txtPunto.Text    = this._resp.Tables["Inscripciones"].Rows[0][2].ToString();
                    this.cbTipoClase.Text = this._resp.Tables["Inscripciones"].Rows[0][3].ToString();
                    this.btnBusClases_Click(sender, e);
                    this.cbNombreClase.Text = this._resp.Tables["Inscripciones"].Rows[0][4].ToString();
                    this.txtMontoCuota.Text = this._resp.Tables["Inscripciones"].Rows[0][5].ToString();
                    this._idcuota           = this._resp.Tables["Inscripciones"].Rows[0][6].ToString();
                    this.txtFechaPago.Text  = DateTime.Parse(this._resp.Tables["Inscripciones"].Rows[0][7].ToString()).ToString("dd/MM/yyyy");
                }
            }
            catch (Exception err)
            {
            }
        }
        private void ABMClases_Load(object sender, EventArgs e)
        {
            this._clases = new ClassTiposDeClases();

            this._clases.idclase       = "0";
            this._clases.idtipodeclase = "0";
            this._clases.nombreclase   = "";

            DataTable _todasclases = this._clases.BuscarTiposDeClases(this._clases);

            this.cbBusTipoClases.DataSource    = _todasclases;
            this.cbBusTipoClases.ValueMember   = "idtipodeclase";
            this.cbBusTipoClases.DisplayMember = "tipodeclase";
            this.cbBusTipoClases.SelectedValue = 1;
        }
        private void PoblarComboTipoDeClases()
        {
            this._clases = new ClassTiposDeClases();

            this._clases.idclase       = "0";
            this._clases.idtipodeclase = "1";
            this._clases.nombreclase   = "";

            DataTable _todasclases = this._clases.BuscarTiposDeClases(this._clases);

            //Agrupar o borrar las filas repetidas de la lista que se recupera de la consulta
            _todasclases = this._clases.EliminarFilasDuplicadas(_todasclases, "tipodeclase");

            //Muestra datos en el combo
            this.cbBusTipoClase.DataSource    = _todasclases;
            this.cbBusTipoClase.ValueMember   = "idtipodeclase";
            this.cbBusTipoClase.DisplayMember = "tipodeclase";
            this.cbBusTipoClase.Text          = "";
        }
        private void btnNuevo_Click(object sender, EventArgs e)
        {
            this._clases = new ClassTiposDeClases();

            this._clases.idclase       = "0";
            this._clases.idtipodeclase = "1";
            this._clases.nombreclase   = "";

            DataTable _todasclases = this._clases.BuscarTiposDeClases(this._clases);

            //Agrupar o borrar las filas repetidas de la lista que se recupera de la consulta
            _todasclases = this._clases.EliminarFilasDuplicadas(_todasclases, "tipodeclase");

            //Muestra datos en el combo
            this.cbTipoClases.DataSource    = _todasclases;
            this.cbTipoClases.ValueMember   = "idtipodeclase";
            this.cbTipoClases.DisplayMember = "tipodeclase";
            this.cbTipoClases.Visible       = true;

            this.bandera                    = "N";
            this.gbxAcciones.Enabled        = false;
            this.gbxConfirmarAccion.Enabled = true;
            this.gbxBuscador.Enabled        = false;
        }