Beispiel #1
0
        private void newToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (CreateAuctionFormShow == null) {

                CreateAuctionFormShow = new CreateAuctionForm();
                CreateAuctionFormShow.MdiParent = this;
                CreateAuctionFormShow.FormClosed += CreateAuctionFormShow_FormClosed;
                CreateAuctionFormShow.Show();
            } else {
                CreateAuctionFormShow.Activate();
            }
        }
Beispiel #2
0
 void CreateAuctionFormShow_FormClosed(object sender, FormClosedEventArgs e)
 {
     //throw new NotImplementedException();
     CreateAuctionFormShow = null;
 }