private void btnShowLocalExceptions_Click(object sender, EventArgs e) { using (var localExceptionsForm = new LocalExceptionsForm()) { localExceptionsForm.ShowDialog(); } }