Esempio n. 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));
        }
Esempio n. 2
0
 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);
 }