private void setToolStripMenuItem_Click(object sender, EventArgs e) { if (clstCast.SelectedIndex > -1) { clsCharacter character = (clsCharacter)clstCast.SelectedItem; frmSetInitiative dialog = new frmSetInitiative(); dialog.Character = character; dialog.ShowDialog(); UpdateInitiative(); } }
private void setToolStripMenuItem_Click_1(object sender, EventArgs e) { if (clstInitiative.SelectedIndex > -1) { clsCharacter character = ((clsTurn)clstInitiative.SelectedItem).Character; frmSetInitiative dialog = new frmSetInitiative(); dialog.Character = character; dialog.nudInitiative.Value = character.CurrentInitiative; dialog.ShowDialog(); UpdateInitiative(); } }
private void EnterInitiative() { frmSetInitiative dialog = new frmSetInitiative(); foreach (clsCharacter c in CastList) { dialog.Character = c; if (c.Enabled) { dialog.ShowDialog(); } } UpdateInitiative(); }
private void setToolStripMenuItem_Click_1(object sender, EventArgs e) { if (clstInitiative.SelectedIndex > -1) { clsCharacter character = ((clsTurn)clstInitiative.SelectedItem).Character; frmSetInitiative dialog = new frmSetInitiative(); dialog.Character = character; dialog.nudInitiative.Value = character.CurrentInitiative; dialog.ShowDialog(); UpdateInitiative(); } }
private void setToolStripMenuItem_Click(object sender, EventArgs e) { if (clstCast.SelectedIndex > -1) { clsCharacter character = (clsCharacter)clstCast.SelectedItem; frmSetInitiative dialog = new frmSetInitiative(); dialog.Character = character; dialog.ShowDialog(); UpdateInitiative(); } }
private void EnterInitiative() { frmSetInitiative dialog = new frmSetInitiative(); foreach (clsCharacter c in CastList) { dialog.Character = c; if (c.Enabled) dialog.ShowDialog(); } UpdateInitiative(); }