private void button3_Click(object sender, EventArgs e) { Thread t = new Thread(() => PeakFinder.run(file, channels, true)); t.Start(); System.Threading.Thread.Sleep(1400); pictureBox1.Image = Image.FromFile("C:\\Users\\s166268\\Documents\\SharpDevelop Projects\\audioSolution\\audioSolution\\ED.gif"); //PeakFinder.run(file, channels, true); }
void GoClick(object sender, EventArgs e) { if (file.Length > 1) { axVLCPlugin21.playlist.play(); PeakFinder.run(file, channels, false); } else { textBox1.Text += "No file split yet" + "\r\n"; } }