private void GetList()
 {
     dataGridView.DataSource = _manager.GetAll(new Cliente()
     {
         UserID = Session.User.UserID
     }, Convert.ToDateTime("2000-01-01"), DateTime.Now);
     dataGridView.Refresh();
 }
Exemplo n.º 2
0
 private void RegistroConsumoCuponForm_Load(object sender, EventArgs e)
 {
     dataGridView.DataSourceChanged  += new EventHandler(dataGridView_DataSourceChanged);
     dataGridView.AutoGenerateColumns = false;
     dataGridView.DataSource          = _manager.GetAll(new Proveedor()
     {
         UserID = Session.User.UserID
     });
 }