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