示例#1
0
        private void btRegistrar_Click(object sender, EventArgs e)
        {
            Datos2 d = new Datos2();

            d.fecha1     = txtMes.Text;
            d.fecha2     = txtAño.Text;
            d.montoTotal = Convert.ToInt32(txtMontoTotal.Text);

            FuncionesProcesos fp = new FuncionesProcesos();

            fp.RegistrarNomina(d);
            CargarDatos();
        }
示例#2
0
        private void btRegistrar_Click(object sender, EventArgs e)
        {
            Datos2 d = new Datos2();

            d.codigoEmpleado = Convert.ToInt32(txtCodigoEmpleado.Text);
            d.fecha1         = txtInicioFecha.Text;
            d.fecha2         = txtFinFecha.Text;
            d.año            = txtAño.Text;
            d.comentario     = txtComentario.Text;

            FuncionesProcesos fp = new FuncionesProcesos();

            fp.RegistrarPermisos(d);
            CargarDatos();
        }