Example #1
0
 private void AddPrimeCatButtonClick(object sender, EventArgs e)
 {
     AddPrimeCategory addPriceCat = null;
     if (addPriceCat != null)
     {
         addPriceCat.Activate();
     }
     else
     {
         addPriceCat = new AddPrimeCategory();
         addPriceCat.Show();
     }
 }
Example #2
0
        private void AddPrimeCatButtonClick(object sender, EventArgs e)
        {
            AddPrimeCategory addPriceCat = null;

            if (addPriceCat != null)
            {
                addPriceCat.Activate();
            }
            else
            {
                addPriceCat = new AddPrimeCategory();
                addPriceCat.Show();
            }
        }