Step against more reasonable behavior , Handle rethrow , but the rethrow not ready

This commit is contained in:
2022-07-06 22:46:47 +02:00
parent 4ab6461e4f
commit 298c4e94ad
5 changed files with 103 additions and 86 deletions

View File

@ -13,9 +13,12 @@ namespace WinGreed
{
if (lvMemberList.Items.Count > 0)
{
var nextPlayerName = lvMemberList.Items[NextLvItem()].Text;
var nextLvInstance = lvMemberList.Items[NextLvItem()];
var nextPlayerName = nextLvInstance.Text;
fPR = new frmPersonRound(nextPlayerName);
fPR.Show();
fPR.TotPoints = int.Parse( nextLvInstance.SubItems[2].Text);
fPR.ShowDialog();
nextLvInstance.SubItems[2].Text = fPR.TotPoints.ToString();
}
}
@ -25,7 +28,7 @@ namespace WinGreed
if (lvMemberList.Items.Count > 1)
{
actPlayerNo++;
if(actPlayerNo > lvMemberList.Items.Count)
if(actPlayerNo > lvMemberList.Items.Count-1)
{
actPlayerNo = 0;
}