Exemple #1
0
        /* *************************** CODE RELATED TO AUCTION Event *************************** */

        public void DblClickEvent_Grid(object sender, MouseEventArgs e)
        {
            auctionEvent = (AuctionEvent)lbxEvent_Grid.SelectedItem;
            auctionEventSelectedIndex = lbxEvent_Grid.SelectedIndex;
            // TODO - Need to add logic to show the data somewhere
            //Item_Reset(new AuctionEvent().setAuctionItem(auctionItem));
        }
 public AuctionEvent setAuctionEvent(AuctionEvent ae)
 {
     eventId         = ae.eventId;
     eventName       = ae.eventName;
     eventTime       = ae.eventTime;
     registrationFee = ae.registrationFee;
     buyer           = ae.buyer;
     conducted       = ae.conducted;
     auctionItem     = new AuctionItem(ae.auctionItem);
     auctionLocation = new AuctionLocation(ae.auctionLocation);
     return(this);
 }