private async Task RefreshLB() { DynamicControls.ResetUpdateAndDLUI(txtDLSaveTitle, txtDLSaveDescription, cmbDLSaveRegion, txtDLSaveType, txtDLHasExtData, txtDLCount, txtDLUploader, lbFilesIncludedInDownload); DynamicControls.ResetUpdateAndDLUI(txtMUSaveTitle, txtMUSaveDescription, cmbMUSaveRegion, txtMUSaveType, txtMUHasExtData, null, null, lbMySaveSlotsInGameFolder); DynamicControls.ResetUploadUI(txtSaveTitle, txtSaveDescription, cmbSaveRegion, txtHasExtData, lbSaveSlotsInGameFolder, lbGameSavesInDevice); await LoadSaves(); }
private async void txtFilterSearch_TextChanged(object sender, TextChangedEventArgs e) { string SelValue = ""; if (cmbFilterSaveByRegion.SelectedIndex >= 0) { SelValue = cmbFilterSaveByRegion.SelectedValue.ToString(); } listGameSavesToDownload = await DynamicControls.LoadWithFilter(SelValue, txtFilterSearch.Text); lbGameSavesToDownload.ItemsSource = listGameSavesToDownload; lbGameSavesToDownload.Items.Refresh(); DynamicControls.ResetUpdateAndDLUI(txtDLSaveTitle, txtDLSaveDescription, cmbDLSaveRegion, txtDLSaveType, txtDLHasExtData, txtDLCount, txtDLUploader, lbFilesIncludedInDownload); }