Exemplo n.º 1
0
 private void btn_Clear_Click(object sender, EventArgs e)
 {
     SystemItems.Clear();
     txt_TotalPipeLength.Clear();
     rbtn_Dn40.Enabled = true;
     rbtn_Dn50.Enabled = true;
 }
Exemplo n.º 2
0
        private async Task LoadSystemItemsLookupAsync()
        {
            SystemItems.Clear();
            var lookup = await _systemItemLookupDataService.GetSystemItemLookupAsync();

            foreach (var lookupItem in lookup)
            {
                SystemItems.Add(lookupItem);
            }
        }
Exemplo n.º 3
0
        private async Task LoadSystemItemsLookupAsync()
        {
            //LOAD SYSTEM LIST FOR DROPDOWN.
            SystemItems.Clear();
            SystemItems.Add(new NullLookupItem {
                DisplayMember = " - "
            });
            var lookup = await _systemItemLookupDataService.GetSystemItemLookupAsync();

            foreach (var lookupItem in lookup)
            {
                SystemItems.Add(lookupItem);
            }
        }