예제 #1
0
 private void AddSecondCatButtonClick(object sender, EventArgs e)
 {
     AddSecondaryCategory addSecCat = null;
     if (addSecCat != null)
     {
         addSecCat.Activate();
     }
     else
     {
         addSecCat = new AddSecondaryCategory();
         addSecCat.Show();
     }
 }
예제 #2
0
        private void AddSecondCatButtonClick(object sender, EventArgs e)
        {
            AddSecondaryCategory addSecCat = null;

            if (addSecCat != null)
            {
                addSecCat.Activate();
            }
            else
            {
                addSecCat = new AddSecondaryCategory();
                addSecCat.Show();
            }
        }