예제 #1
0
        private async void getCatalogs()
        {
            var res = await CatalogController.GetAllCatalogs();

            cbProductCatalog.DataSource    = res.Data;
            cbProductCatalog.DisplayMember = "CatalogName";
        }
예제 #2
0
        private async void getCatalogs()
        {
            var res = await CatalogController.GetAllCatalogs();

            catalogs = res.Data;
            cbProductCatalog.DataSource    = res.Data;
            cbProductCatalog.DisplayMember = "CatalogName";
            cbProductCatalog.SelectedIndex = catalogs.FindIndex(c => c.Id.Equals(_productListPage.CurrentEditingProduct.Catalog.Id));
        }
예제 #3
0
        public async Task getCatalogs()
        {
            var res = await CatalogController.GetAllCatalogs();

            if (res == null || res.Data == null)
            {
                return;
            }

            catalogs         = res.Data;
            filteredCatalogs = res.Data;
        }