Step against more reasonable behavior , Handle rethrow , but the rethrow not ready
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user