示例#1
0
        private void yesDeleteCategoryButton_Click(object sender, RoutedEventArgs e)
        {
            MenuItemFactory.Items.Remove(menuItemTemp);
            MenuItems.Remove(menuItemTemp);
            var temp = PhotoItemFactory.AllLists.Find(p => p.category == menuItemTemp.Category);

            PhotoItemFactory.AllLists.Remove(temp);
            goBack();
            DeleteCategoryButtonFlyout.Hide();  //Hassan added NEW NEW
        }
示例#2
0
 private void noDeleteCategoryButton_Click(object sender, RoutedEventArgs e)
 {
     DeleteCategoryButtonFlyout.Hide();  //Hassan added NEW NEW
 }