Пример #1
0
        public IngresoEmpleados(DataGridViewRow fila)
        {
            InitializeComponent();
            empleado = new Empleados();

            empleado.ConseguirDatosToUpdate(txt_Apelli_Emple, fila);
            boolModoActualizar = true;

            txt_Id_Emple.ReadOnly = true;
        }
Пример #2
0
        public IngresoEmpleados(DataGridViewRow fila)
        {
            InitializeComponent();
            empleado = new Empleados(txtIdEmple, txtNomEmple, txt_Apelli_Emple, txt_Dir_Emple, date_FechN_Emple, Date_FechIn_Emple, radio_mas_Emple, radio_fem_Emple, txt_Email_Emple, combobox_CargoTipoComboBox, txt_Tel_Emple);

            empleado.ConseguirDatosToUpdate(txtNomEmple, fila);
            boolModoActualizar = true;

            txtIdEmple.ReadOnly = true;
        }
Пример #3
0
        public IngresoEmpleados()
        {
            InitializeComponent();
            empleado = new Empleados();

            this.date_FechN_Emple.Value = new DateTime((DateTime.Now.Year - 18), 1, 1);
            this.date_FechN_Emple.Update();

            boolModoActualizar = false;

            txt_Id_Emple.ReadOnly = false;
        }
Пример #4
0
        public IngresoEmpleados()
        {
            InitializeComponent();
            empleado = new Empleados(txtIdEmple,txtNomEmple,txt_Apelli_Emple,txt_Dir_Emple,date_FechN_Emple,Date_FechIn_Emple,radio_mas_Emple,radio_fem_Emple,txt_Email_Emple,combobox_CargoTipoComboBox,txt_Tel_Emple);

            this.date_FechN_Emple.Value = new DateTime((DateTime.Now.Year - 18), 1, 1);
            this.date_FechN_Emple.Update();

            boolModoActualizar = false;

            txtIdEmple.ReadOnly = false;
        }
Пример #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;
        }
Пример #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;
        }