Пример #1
0
        private void colorAlGrid()
        {
            var list = CitasDB.ListarDia(this.dtFechaCita.Value.Date);

            if (list.Count > 0)
            {
                foreach (var item in list)
                {
                    actualizaHoy(item);
                }
            }
        }
Пример #2
0
 private void cargarGrid()
 {
     this._IdCita = -1;
     if (chkHoy.Checked)
     {
         CitasDB.ListarDia(this.dgCitas);
     }
     else
     {
         CitasDB.Listar(this.dgCitas);
     }
     this.dgCitas.Columns[0].Visible           = false;
     this.dgCitas.Columns["IdCliente"].Visible = false;
 }