private void setCustomsToolStripMenuItem_Click(object sender, EventArgs e) { // Exceptions in PatternsForm are not caught by the debugger, I have no idea why. // Exceptions in UndoForm are caught, which makes it weirder. PatternsForm pForm = new PatternsForm(this); pForm.Owner = this; pForm.Show(); }