private void ChargesIndicateurs(Compte c) { double soldOpePoint = c.SoldeOperationPointee(); double aVenir = c.AVenir(); double soldFinal = soldOpePoint + aVenir; lblSoldPoint.Text = string.Format(System.Globalization.CultureInfo.CurrentCulture, "{0,12:0,0.00}", soldOpePoint) + " €"; lblAVenir.Text = string.Format(System.Globalization.CultureInfo.CurrentCulture, "{0,12:0,0.00}", aVenir) + " €"; lblSoldFinal.Text = string.Format(System.Globalization.CultureInfo.CurrentCulture, "{0,12:0,0.00}", soldFinal) + " €"; ChargeGraph(c); ChangeCouleur(lblSoldPoint, soldOpePoint); ChangeCouleur(lblAVenir, aVenir); ChangeCouleur(lblSoldFinal, soldFinal); ChangeAlerte(pb, soldOpePoint, c.SeuilAlerte); ChangeAlerte(pbSoldeFinal, soldFinal, c.SeuilAlerteFinal); }