Sunday, March 30, 2014

The Best Place For Loops?

I have a C# program in which it runs a form, and in the form it checks for information constantly to a server. So after the user logs in, I want to close the form, but I don't want the loop to stop. I get this weird bug where I make the new form show the information of the account, but it stops half way, and gives the circling icon when you hover over it and the login form never closes. I am positive its the loop. I want to have the loop in the Program.cs, But if I do that I have a difficult time gathering data from the form.


So, I was wondering if I could still have it run even if its closed, or can someone teach me how to gather information from a form from the Program.cs?


No comments:

Post a Comment