예제 #1
0
        private void BtnShowBids_Click(object sender, EventArgs e)
        {
            var dialog = new FrmShowBidEntry(ShowItems);

            dialog.ShowDialog();
            dialog.Close();
        }
예제 #2
0
        private void BtnAuctionSales_Click(object sender, EventArgs e)
        {
            var showPieces    = GetAllInventory();
            var auctionPieces = showPieces.FindAll(p => p.Auctioned);

            if (auctionPieces.Count == 0)
            {
                MessageBox.Show("Nothing has been indicated as going to auction yet.", "Nothing to Do",
                                MessageBoxButtons.OK,
                                MessageBoxIcon.Information);
                return;
            }
            var dialog = new FrmShowBidEntry(auctionPieces);

            dialog.ShowDialog();
            dialog.Close();
        }