Пример #1
0
 private void _met_load_datagridview()
 {
     _add = new Model.cls_ConcreteAggregate(_cls_factorymethod._get_CRUD_SELECT(Model.cls_FactoryMethod._TipoRegistro.companias), "DataRemember1", 12);
     _i   = _add.CreateIterador();
     _frm_companias.dgv_companias.DataSource       = _i._met_LoadData();
     _frm_companias.dgv_companias.DataMember       = "DataRemember1";
     _frm_companias.dgv_companias.Columns[0].Width = 60;
     _frm_companias.dgv_companias.Columns[1].Width = 150;
     act_data();
 }
 private void _met_load_DataGridView()
 {
     _add      = new Model.cls_ConcreteAggregate(_cls_factorymethod._get_CRUD_SELECT(Model.cls_FactoryMethod._TipoRegistro.clientes), "DataRemember1", 12);
     _iterador = _add.CreateIterador();
     _frm_client.dg_clientes.DataSource       = _iterador._met_LoadData();
     _frm_client.dg_clientes.DataMember       = "DataRemember1";
     _frm_client.dg_clientes.Columns[0].Width = 50;
     _frm_client.dg_clientes.Columns[1].Width = 280;
     _frm_client.dg_clientes.Columns[2].Width = 190;
     _frm_client.dg_clientes.Columns[4].Width = 190;
     _frm_client.dg_clientes.Columns[7].Width = 150;
     _met_update();
 }