Skip to content
Snippets Groups Projects
Commit e2e53066 authored by FOECHTERLE MELISSA's avatar FOECHTERLE MELISSA
Browse files

Suppression de lignes de débuggage

parent 5305a9cf
Branches
No related merge requests found
......@@ -42,14 +42,11 @@ namespace Mango.Controls.Menu
bool fini = false;
while (!fini)
{
string etatDtBilan = "";
DataRow donneur = dtBilan.Rows[0];
DataRow receveur = dtBilan.Rows[0];
for (int i = 0; i < dtBilan.Rows.Count; i++)
{
etatDtBilan += "Participant " + dtBilan.Rows[i]["codeParticipant"].ToString() + " solde " + dtBilan.Rows[i]["Solde"].ToString() + "\n";
if ((double)donneur["Solde"] > (double)dtBilan.Rows[i]["Solde"])
{
donneur = dtBilan.Rows[i];
......@@ -61,8 +58,6 @@ namespace Mango.Controls.Menu
}
}
MessageBox.Show(etatDtBilan);
if (Math.Round((double)donneur["Solde"]) == 0 && Math.Round((double)receveur["Solde"]) == 0)
{
fini = true;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment