Example #1
0
        public IngresoVoluntarios()
        {
            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);
            boolModoActualizar = false;

            this.date_Fn_Voluntarios.Value = new DateTime((DateTime.Now.Year - 16), 1, 1);
            this.date_Fn_Voluntarios.Update();

            txt_Id_Voluntarios.ReadOnly = false;
            btnPagar.Visible = false;
        }
Example #2
0
        public IngresoVoluntarios()
        {
            InitializeComponent();
            voluntario  = new Voluntarios ();
            boolModoActualizar = false;

            this.date_Fn_Voluntarios.Value = new DateTime((DateTime.Now.Year - 16), 1, 1);
            this.date_Fn_Voluntarios.Update();

            txt_Id_Voluntarios.ReadOnly = false;
            btnPagar.Visible = false;
        }
Example #3
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;
        }
Example #4
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;
        }
Example #5
0
        public Mantenimiento()
        {
            InitializeComponent();
            alc = new Alcancias();
            pdr = new Padrinos();
            nino = new Ninios();
            empl = new Empleados();
            org = new Organizaciones();
            volt = new Voluntarios();

            strIdAEnviar=null;
            filaAEnviar = null;

            dataGridView1.DataSource = null;

            Cbb_Mantenimiento.SelectedIndex = 0;
        }
Example #6
0
        public Mantenimiento(String buscado, int cbxDesplegar)
        {
            InitializeComponent();
            alc = new Alcancias();
            pdr = new Padrinos();
            nino = new Ninios();
            empl = new Empleados();
            org = new Organizaciones();
            volt = new Voluntarios();

            strIdAEnviar = null;
            filaAEnviar = null;

            dataGridView1.DataSource = null;
            rdbtnID.Checked = true;
            Cbb_Mantenimiento.SelectedIndex = cbxDesplegar;
            txtbABuscar.Text = buscado;
        }