private void button15_Click_1(object sender, EventArgs e) { Thread thread = new Thread(() => { Tools.BinaryIns(int.Parse(DeleyTime.Text)); MessageBox.Show("Done"); }); thread.Start(); }