Example #1
0
 private void BoomUI_Load(object sender, EventArgs e)
 {
     _context = new BoomTrackingContext();
     _context.Booms.Load();
     boomsBindingSource.DataSource =
         _context.Booms.Local.ToBindingList();
 }
Example #2
0
 private void frmMain_Load(object sender, EventArgs e)
 {
     _context = new  BoomTrackingContext();
     _context.Locations.Load();
     this.LocationbindingSource.DataSource =
         _context.Locations.Local.ToBindingList();
 }