コード例 #1
0
        private void helpAreaCombobox_SelectionChanged(AreaINCountry item, int index)
        {
            List <GuestRequest> afterFilter = myBL.groupByArea().AllElementsForKey(item);

            indexArea  = index;
            SelectArea = AreaList[indexArea];
            Refresh(guestRequests, afterFilter);
        }
コード例 #2
0
        private void helpAreaCombobox_SelectionChanged(AreaINCountry item, int index)
        {
            List <BE.HostingUnit> afterFilter = myBL.GroupByAreaOfUnit().AllElementsForKey(item);//.Where(item => item.Owner.HostId == hostingUnits[0].Owner.HostId).Select(x => x).ToList();

            indexArea  = index;
            SelectArea = AreaList[indexArea];
            Refresh(hostingUnits, afterFilter);
        }
コード例 #3
0
        private void AreaCombobox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (AreaCombobox.SelectedItem == null)
            {
                indexArea            = -1;
                AreaClear.Visibility = Visibility.Hidden;
                return;
            }
            AreaINCountry areaIN = (AreaINCountry)AreaCombobox.SelectedItem;

            AreaClear.Visibility   = Visibility.Visible;
            AreaCombobox.IsEnabled = false;
            helpAreaCombobox_SelectionChanged(areaIN, AreaCombobox.SelectedIndex);
        }