private void spielBeendenToolStripMenuItem_Click(object sender, EventArgs e) { using (var form = new FinishForm()) { form.ShowDialog(this); } }
private void doFinishingStuff() { _clrs = null; if (checkGameCompleted()) { using (var form = new FinishForm()) { form.ShowDialog(this); } } }