Sound implemented, points ok and users visible on button
This commit is contained in:
@ -195,7 +195,7 @@ namespace WinGreed
|
||||
actTxtBox.Refresh();
|
||||
tempChsn += outPut.NumSum;
|
||||
txtChosenPoints.Text = tempChsn.ToString();
|
||||
AddedPoints = tempChsn;
|
||||
|
||||
if (((TextBox)this.Controls.Find($"txtMaxValue{row}", true).FirstOrDefault()).Text == actTxtBox.Text
|
||||
&& int.Parse(actTxtBox.Text.Trim()) > 0
|
||||
&& _ht.Dices.Count(x => x.Chosen == true) == _ht.Dices.Count)
|
||||
@ -413,5 +413,13 @@ namespace WinGreed
|
||||
txtTotalPoints.Text = TotPoints.ToString();
|
||||
_ht.Score = TotPoints;
|
||||
}
|
||||
|
||||
private void frmPersonRound_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (int.Parse( txtChosenPoints.Text.Trim() )>0)
|
||||
{
|
||||
AddedPoints = tempChsn;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user