Ejemplo n.º 1
0
        public IngresoVoluntarios(DataGridViewRow fila)
        {
            InitializeComponent();
            voluntario = new Voluntarios(txt_Id_Voluntarios, txt_Nom_Voluntarios, txt_Apelli_Voluntarios, date_Fn_Voluntarios, date_FI_Voluntarios, radio_mas_Voluntarios, radio_fem_Voluntarios, txt_Email_Voluntarios, txt_Tel_Voluntarios, txt_Info_Voluntarios, txtHoras);

            voluntario.ConseguirDatosToUpdate(txt_Apelli_Voluntarios,fila);
            boolModoActualizar = true;

            txt_Id_Voluntarios.ReadOnly = true;

            if (Log.Cargo(Log.sesion) == 2)
            {
                btnPagar.Visible = false;
            }else
                btnPagar.Visible = true;
        }
Ejemplo n.º 2
0
        public IngresoVoluntarios(DataGridViewRow fila)
        {
            InitializeComponent();
            voluntario = new Voluntarios();

            voluntario.ConseguirDatosToUpdate(txt_Apelli_Voluntarios,fila);
            boolModoActualizar = true;

            txt_Id_Voluntarios.ReadOnly = true;

            if (Log.Cargo(Log.sesion) == 2)
            {
                btnPagar.Visible = false;
            }else
                btnPagar.Visible = true;
        }