示例#1
0
        private void btnAddnewItemCategory_Click(object sender, EventArgs e)
        {
            AddItemCategory addIC = AddItemCategory.getInstance();

            this.Hide();
            addIC.Show();
        }
示例#2
0
 public static AddItemCategory getInstance()
 {
     if (uniqueInstance == null)
     {
         uniqueInstance = new AddItemCategory();
     }
     return(uniqueInstance);
 }