private void injectEthernetPacketToolStripMenuItem_Click(object sender, EventArgs e) { using (InjectEthernetPacketForm injectEthernetPacketForm = new InjectEthernetPacketForm()) { injectEthernetPacketForm.ShowDialog(); } }