I don't have access and I'm not willing to sign up.
Can you SIMPLY attach the zipped file in your reply (use the Manage Attachments button)?
Printable View
I don't have access and I'm not willing to sign up.
Can you SIMPLY attach the zipped file in your reply (use the Manage Attachments button)?
Attachment 29622
Here you go, I really appreciate the help.
Modify the Code class...
This will delay the Restart operation without blocking the main thread. Of course it probably doesn't do what you really need it to do.Code:class Data
{
public void Restart()
{
ThreadPool.QueueUserWorkItem(DoWork);
}
private void DoWork(object dataState)
{
Thread.Sleep(3000);
Console.WriteLine("Started!");
}
}
If not, then repost a more complete zipped solution where the sample code shows code that is a bit closer to what you really need.