private void button22_Click_1(object sender, EventArgs e) { Thread thread = new Thread(() => { Tools.MergeSortMuti(0, arr.Length - 1); MessageBox.Show("Done"); }); thread.Start(); }