private void button1_Click(object sender, EventArgs e) { this.Enabled = false; System.Threading.Thread.Sleep(0); WhoIs.WhoIs who = new ActiveUp.Net.WhoIs.WhoIs(); who.Servers.Add(textBox1.Text, 43, txtDomainName.Text); txtresult.Text = who.Query(txtDomainName.Text); this.Enabled = true; }