Click here to Skip to main content
15,908,909 members

Comments by andycruce (Top 4 by date)

andycruce 16-Dec-16 16:55pm View    
Thank you for the help. A very simple solution that I couldn't find described anywhere online. I'm suffering from a 30 year lapse in any programming and trying to get my head around C#, WinForms and .net.

Thanks again for the help
andycruce 18-Nov-16 18:23pm View    
Thanks, I understand the timer event. How do I pause the program in WinForms. For a console routine you just wait for a console input. What is the similar thing to do for WinForms?
andycruce 12-Nov-16 18:15pm View    
I just tried something else. I took the thread code and put it in a Class contained in the main program. As soon as I put the code in a class

public class anything
{
thread code
}

the invoke methods are not recognized.
andycruce 12-Nov-16 18:09pm View    
I originally didn't have the using System.Windows.Forms statement inside the namespace, just the list of using statements at the top of the file. I put there just to see if it would work. I just removed the single using statement inside the namespace to get back to the original configuration and the result was still the same. The using System.Windows.Forms is not used - VS suggests removing all the using statements as unused - and all the Invoke methods are unrecognized.