Exemple #1
0
        private async Task DoSearch()
        {
            CodeBranchList = new CodeBranchIncrementalLoad();

            await CodeBranchList.LoadMoreItemsAsync();

            codeBranchList.ItemsSource = CodeBranchList;
        }
Exemple #2
0
        private async Task LoadComboSources()
        {
            CodeBranchIncrementalLoad CodeBranchList = new CodeBranchIncrementalLoad();

            await CodeBranchList.LoadMoreItemsAsync();

            CodeBranchPicker.ItemsSource = CodeBranchList;
        }
Exemple #3
0
        private async Task LoadCombo()
        {
            CodeBranchIncrementalLoad CodeBranchList = new CodeBranchIncrementalLoad();

            await CodeBranchList.LoadMoreItemsAsync();

            ComboBoxCodeBranch.Items.Add(new CodeBranchesAPI {
                id = 0, name = "All"
            });

            foreach (var codebranch in CodeBranchList)
            {
                ComboBoxCodeBranch.Items.Add(codebranch);
            }
        }