nigative win/loss

This commit is contained in:
HeshamTB 2018-09-20 11:33:26 +03:00
parent 500f9c5852
commit fae9d2f50c

View File

@ -146,14 +146,20 @@ namespace OWTrack
private void reduceWinBut_Click(object sender, EventArgs e)
{
tr.reduceWin();
update();
if (tr.wins > 0)
{
tr.reduceWin();
update();
}
}
private void reduceLossBut_Click(object sender, EventArgs e)
{
tr.rediceLoss();
update();
if (tr.losses > 0)
{
tr.rediceLoss();
update();
}
}
private void clearBut_Click(object sender, EventArgs e)