/// <summary> /// Recalcul les infos d'espace pour le romaing /// </summary> private async Task CalculerEspaceDispo() { var espaceTotal = await RoamingUtils.GetEspaceRoamingOccupePourcent(); EspaceDispoTextBlock.Text = ResourceLoader.GetForCurrentView().GetString("EspaceDispo") + " " + espaceTotal + " %"; EspaceDispoTextBlock.Foreground = espaceTotal >= ContexteStatic.EspaceMaxAutoriseRoaming ? new SolidColorBrush(Color.FromArgb(255, 255, 0, 0)) : new SolidColorBrush(Color.FromArgb(255, 0, 0, 0)); EspaceCompteOccupe.Text = await RoamingCompteBusiness.GetEspaceFichierOccupePourcent() + " %"; EspaceMouvementOccupe.Text = await RoamingMouvementBusiness.GetEspaceFichierOccupePourcent() + " %"; EcheancierCheckBox.Content = await RoamingEcheancierBusiness.GetEspaceFichierOccupePourcent() + " %"; CategorieCheckBox.Content = await RoamingCategorieBusiness.GetEspaceFichierOccupePourcent() + " %"; }