Esempio n. 1
0
        private void ViewAllQuotes_Load(object sender, EventArgs e)
        {
            DeskQuote        quote = new DeskQuote();
            List <ShowQuote> items = quote.ReadQuotes("quotes.json");

            allQuotesDataGridView.DataSource = items;
        }
Esempio n. 2
0
        private void displayAllButton_Click(object sender, EventArgs e)
        {
            searchCombobox.DataSource = Enum.GetValues(typeof(DesktopMaterial));
            DeskQuote        quote = new DeskQuote();
            List <ShowQuote> items = quote.ReadQuotes();

            searchDataGridView.DataSource = items;
        }