private void getUpcomingAuctions() { CtrAuction ctrAuction = new CtrAuction(); lbxUpcoming.DataSource = ctrAuction.GetAll(false); lbxUpcoming.SelectedIndex = -1; }
private void getEndedAuction() { CtrAuction ctrAuction = new CtrAuction(); lbxEnded.DataSource = ctrAuction.GetAll(true); lbxEnded.SelectedIndex = -1; }