Esempio n. 1
0
 void client_GetMenuCompleted(object sender, GetMenuCompletedEventArgs e)
 {
     List<MenuItemContainer> source = new List<MenuItemContainer>();
     foreach (var item in e.Result)
     {
         source.Add(new MenuItemContainer(new MenuItem(){Text = item.Text, Id = item.Id}));
     }
     lstMenuItems.ItemsSource = source;
 }
Esempio n. 2
0
        void client_GetMenuCompleted(object sender, GetMenuCompletedEventArgs e)
        {
            List <MenuItemContainer> source = new List <MenuItemContainer>();

            foreach (var item in e.Result)
            {
                source.Add(new MenuItemContainer(new MenuItem()
                {
                    Text = item.Text, Id = item.Id
                }));
            }
            lstMenuItems.ItemsSource = source;
        }
Esempio n. 3
0
 void client_GetMenuCompleted(object sender, GetMenuCompletedEventArgs e)
 {
 }
Esempio n. 4
0
 void client_GetMenuCompleted(object sender, GetMenuCompletedEventArgs e)
 {
 }