private void miSetting_Click(object sender, EventArgs e) { using (var fs = new frmSetting()) { fs.ShowDialog(); } }