Пример #1
0
 public Main()
 {
     InitializeComponent();
     auctionCtr = new AuctionCtr();
     memberAuction = new MemberAuction(auctionCtr);
     startAuction = new StartAuction(auctionCtr);
     startAuction.NextItemChanged += memberAuction.ItemChanged;
 }
Пример #2
0
 public Main()
 {
     InitializeComponent();
     auctionCtr    = new AuctionCtr();
     memberAuction = new MemberAuction(auctionCtr);
     startAuction  = new StartAuction(auctionCtr);
     startAuction.NextItemChanged += memberAuction.ItemChanged;
 }
        private void startToolStripMenuItem_Click(object sender, EventArgs e)
        {
            StartAuction startAuction = new StartAuction(auctionCtr);

            startAuction.Show();
        }
 private void startToolStripMenuItem_Click(object sender, EventArgs e)
 {
     StartAuction startAuction = new StartAuction(auctionCtr);
     startAuction.Show();
 }