示例#1
0
        }       //Done

        private void GetSubCat(object sender, RoutedEventArgs e)
        {
            if (Categtxt.Text == "")
            {
                MessageBox.Show("Enter the Category First");
                return;
            }
            AllSubCategories allSubCategories = new AllSubCategories(this, (Categtxt.Text).ToString());

            allSubCategories.ShowDialog();
        }       //Done
示例#2
0
        }       //Done Fiinall Function

        private void GetSubCat(object sender, RoutedEventArgs e)
        {
            //AllRecipesDGV.SelectedItem = null;
            if (Categtxt.Text == "")
            {
                MessageBox.Show("Enter the Category First");
                return;
            }
            AllSubCategories allSubCategories = new AllSubCategories(this, (Categtxt.Text).ToString());

            allSubCategories.ShowDialog();
        }       //Done Finall Function