Potrzebuję pomocy w tworzeniu wątku, C# WinFormsJak utworzyć wątek w WinForms?
private void button1_Click(object sender, EventArgs e) {
Thread t=new Thread(new ThreadStart(Start)).Start();
}
public void Start() {
MessageBox.Show("Thread Running");
}
Wciąż dostaję komunikat:
Cannot implicitly convert type 'void' to 'System.Threading.Thread
co robić w dokumentacji MSDN nie jest dobre
w szczególności dokumentacji MSDN wskazuje, że typ zwrot 'start()' jest nieważna ... –