Home > Net >  C # winform procedure why click twice to the pop-up interface
C # winform procedure why click twice to the pop-up interface

Time:11-20

C # WinForm procedure (VS2005) do size about 2 m.

In a 64 - bit Windows 7 to run when the computer to run the program after the first bomb is not out of the window.
But can pop-up window click on run again. Then we can see there are two processes running, memory
If after these two processes all closed, to run the program will be normal again, the speed will quickly.
But for the first time will be slow and even couldn't play the program window.
What solution.
(I use VS2013 compiler has the same problem).

CodePudding user response:

Are you initialization time to do a lot of time-consuming work, no display first

CodePudding user response:

WinForm procedure first run will be slower, especially when loading a large amount of resources, and then the system had the cache, then run will be a lot faster, all you need is wait for a while, or change a program, increase the homepage (should be in another thread), closed after the home page of the main program has been completed,
  •  Tags:  
  • C#
  • Related