예제 #1
0
        private void btnAddCategory_Click(object sender, System.EventArgs e)
        {
            AddCategoryPrompt f = new AddCategoryPrompt();

            if (f.ShowDialog() == DialogResult.OK)
            {
                LoadCategories(); // reload the categories to reflect the new change
            }
        }
예제 #2
0
        private void btnAddCat_Click(object sender, System.EventArgs e)
        {
            AddCategoryPrompt f = new AddCategoryPrompt();

            if (f.ShowDialog() == DialogResult.OK)
            {
                BuildCategoryList();
                needCategoryRefresh = true;
            }
        }