private void dT9816TestToolStripMenuItem_Click(object sender, EventArgs e) { frmTest tester = new frmTest(); tester.FormBorderStyle = FormBorderStyle.FixedDialog; tester.ShowDialog(); }