private void injectPacketsFromFileToolStripMenuItem_Click(object sender, EventArgs e) { using (InjectPacketsFromFileForm injectPacketsFromFileForm = new InjectPacketsFromFileForm()) { injectPacketsFromFileForm.ShowDialog(); } }