R
RobcPettit
Hi, Im using
public void threadcontrol()
{
Thread scan = new Thread (new ThreadStart(GethtmlStream));
scan.Start();
name = "Scanning";
}
in a class, and calling it from button1 with
BJresults sr = new BJresults();
sr.threadcontrol();
np problems here, thread starts and does what it supposed to do. I want
to be able to stop the thread from button2 and I cant figure out how
to. Any ideas.
Regars Robert
public void threadcontrol()
{
Thread scan = new Thread (new ThreadStart(GethtmlStream));
scan.Start();
name = "Scanning";
}
in a class, and calling it from button1 with
BJresults sr = new BJresults();
sr.threadcontrol();
np problems here, thread starts and does what it supposed to do. I want
to be able to stop the thread from button2 and I cant figure out how
to. Any ideas.
Regars Robert