private void btnSetting_Click(object sender, EventArgs e) { using (SettingForm sf = new SettingForm()) { this.TopMost = false; sf.ShowDialog(); this.TopMost = true; } }