private void spielerToolStripMenuItem_Click(object sender, EventArgs e) { ToolStripMenuItem item = sender as ToolStripMenuItem; int plyr = Convert.ToInt32(item.Name.Substring(7, 1)); if (plyr < 0 && plyr > 2) { return; } using (HowMuchForm hmf = new HowMuchForm()) { hmf.ShowDialog(); if (hmf.Result) { this.updateScore(plyr, hmf.Score); } } }