private void Buscar()
        {
            cFunciones fun        = new Clases.cFunciones();
            DateTime   FechaHasta = Convert.ToDateTime(txtFechaHasta.Text);
            DateTime   FechaDesde = Convert.ToDateTime(txtFechaDesde.Text);
            cTurno     turno      = new cTurno();
            DataTable  trdo       = turno.GetTurnos(FechaDesde, FechaHasta);

            Grilla.DataSource = trdo;
            string Col = "0;15;15;10;10;25;15;10";

            fun.AnchoColumnas(Grilla, Col);
        }
        private void Buscar()
        {
            cFunciones fun        = new Clases.cFunciones();
            DateTime   FechaDesde = Convert.ToDateTime(txtFechaDesde.Text);
            DateTime   FechaHasta = Convert.ToDateTime(txtFechaHasta.Text);
            cMecanico  mec        = new cMecanico();
            DataTable  trdo       = mec.GetProduccion(FechaDesde, FechaHasta);

            ArrayList ape    = new ArrayList();
            ArrayList Montos = new ArrayList();

            // Grafico.Titles.Add("Producción de mecánicos");
            for (int i = 0; i < trdo.Rows.Count; i++)
            {
                ape.Add(trdo.Rows[i]["Apellido"].ToString());
                Montos.Add(Convert.ToDouble(trdo.Rows[i]["Total"].ToString()));
            }
            Grafico.Series[0].Points.DataBindXY(ape, Montos);
            trdo = fun.TablaaMiles(trdo, "Total");
            Grilla.DataSource = trdo;
            fun.AnchoColumnas(Grilla, "30;30;20;20");
        }