예제 #1
0
 private void BtnSellItems_Click(object sender, EventArgs e)
 {
     if (SaleForm != null)
     {
         SaleForm.Show();
     }
     else
     {
         SaleForm         = new FrmGetPersonForSale();
         SaleForm.Closed += SaleForm_Closed;
         SaleForm.Show();
     }
 }
예제 #2
0
 void SaleForm_Closed(object sender, EventArgs e)
 {
     SaleForm = null;
 }