• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 857
  • Last Modified:

Equivalent of Do Events in C#

I am developing a windows application in c#. When a user logs into the application clicking on OK i still can see the login window for a while and then the start page of the application. Is there a way to by pass this. I know there's something called Do Events in VB but i am not sure if i can do the same in c#. Can anyone give some idea on this.

Thanks
0
agbalaji
Asked:
agbalaji
1 Solution
 
AlexFMCommented:
Application.DoEvents();
0
 
agbalajiAuthor Commented:
Can u be more clear with some example
0
 
zupi5Commented:
in the place you would call Do Events in vb you call Application.DoEvents(); in C#
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now