示例#1
0
 private void OnDLs1DropDownOpened(string dlType)
 {
     if (SL != null)
     {
         _allDLs = _sLsService.GetDLsAsync(SL.SLId, dlType).Result;
         DLs1    = new ObservableCollection <DL>(_allDLs);
     }
 }
        private async void OnDLsDropDownOpened(string dlType)
        {
            if (AccDocumentItem.SL != null)
            {
                _allDLs = await _sLsService.GetDLsAsync(AccDocumentItem.SL.SLId, dlType);

                if (dlType == "DLType1")
                {
                    AccDocumentItem.DLs1 = new ObservableCollection <DL>(_allDLs);
                }
                else
                {
                    AccDocumentItem.DLs2 = new ObservableCollection <DL>(_allDLs);
                }
            }
        }
        private async void OnDLs1DropDownOpened(string dlType)
        {
            _allDLs = await _sLsService.GetDLsAsync(Stock.SLId, dlType);

            DLs1 = new ObservableCollection <DL>(_allDLs);
        }