private void gcTraspasos_DoubleClick(object sender, EventArgs e)
        {
            try
            {
                if (this.gridView1.GetSelectedRows().Count() == 0)
                {
                    return;
                }

                this._traspasoSel = new Modelos.Traspasos();

                foreach (int i in this.gridView1.GetSelectedRows())
                {
                    var dr1 = this.gridView1.GetRow(i);

                    this._traspasoSel = (Modelos.Traspasos)dr1;
                }

                List <Modelos.Activos> activos = this._activosNegocio.getActivosTras(this._traspasoSel.fecha, this._traspasoSel.consecTraspaso);

                if (activos.Count == 0)
                {
                    throw new Exception("Sin Resultados");
                }

                this.gcActivos.DataSource = activos;
                this.gridView2.BestFitColumns();
            }
            catch (Exception Ex)
            {
                MessageBox.Show(Ex.Message, "Traspasos", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
        }
        private void btnBuscar_Click(object sender, EventArgs e)
        {
            try
            {
                if (string.IsNullOrEmpty(this.dtpFecha.Text))
                {
                    throw new Exception("Seleccione una Fecha");
                }

                string fecha = this.dtpFecha.Value.ToString("yyyy-MM-dd");

                List <Modelos.Traspasos> traspasos = this._responsivasNegocio.getTraspasos(fecha);

                if (traspasos.Count == 0)
                {
                    this.gcTraspasos.DataSource = null;
                    this.gcActivos.DataSource   = null;
                    this._traspasoSel           = null;
                    throw new Exception("Sin Resultados");
                }

                this.gcTraspasos.DataSource = traspasos;
                this.gridView1.BestFitColumns();
            }
            catch (Exception Ex)
            {
                MessageBox.Show(Ex.Message, "Traspasos", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
        }