private void btnServerTest_Click(object sender, EventArgs e) { frmSMPDetails _SMPDetails = new frmSMPDetails(); _SMPDetails.ShowDialog(); this.Select(""); }