Ejemplo n.º 1
0
 public SupplierFinder()
 {
     InitializeComponent();
     model = new ModelSupplier();
     IQueryable querySupplier = model.findAll();
     this.dataGridView1.DataSource = querySupplier;
 }
Ejemplo n.º 2
0
 public SupplierEditor(ref SupplierManage m)
 {
     InitializeComponent();
     data = DataConexion.getInstance();
     model = new ModelSupplier();
     manage = m;
     this.selectCiudad.DataSource = new ModelCountry().getAlltoSortedList().GetValueList();
     try
     {
         selectCiudad.SelectedIndex = 0;
     }
     catch (Exception exc) {
         Utils.logExceptionError(exc);
     }
 }
Ejemplo n.º 3
0
 private void CartersManager_Load(object sender, EventArgs e)
 {
     this.dataGridView1.ClearSelection();
     ModelSupplier model = new ModelSupplier();
 }