예제 #1
0
        private void Marketplace_View_Load(object sender, RoutedEventArgs e)    //are these parameters necessary?
        {
            Marketplace marketView = new Marketplace();

            //List<Listing> listings = new List<Listing>();

            marketView.SearchAll();

            //Seth's code to display listings, havent tested
            for (int i = 0; i < marketView.listings.Count; i++)
            {
                resultsListBox.Items.Add(marketView.listings.ElementAt(i));
            }
        }