private void OpenOverlaysForm(object sender, EventArgs e) { using (OverlaysForm overlaysForm = new OverlaysForm()) { overlaysForm.ShowDialog(); } }