Home > Net >  Winform in form. The closing time to do something?
Winform in form. The closing time to do something?

Time:10-12

Rt. In addition, 1. The new in one form a class, the class has not been manually release before, so at the time of closing will be released? Or were released before? 2. How to efficient manual release?

CodePudding user response:

Is there a big solve

CodePudding user response:

He and the load, so you want to know him close, please look at what's in the load

No efficient release, you always like entangled with this problem,
Close just shut down the UI, and release the fundamental what pull not top relation, so what do you think? Now that is closed, the UI is, of course, your UI associated temporarily removed, when the load in restoring

Release the object controlled by gc, no efficient release, this is not a technology, this is a habit, you use this object is the habit of fast, don't get into global object,

As also in asking these questions, do this step will become, as for the back of the pool pool, clone, cache these, you can take the first step into habits and first instinct to study

CodePudding user response:

refer to the second floor wanghui0380 response:
he and the load, so you want to know him close, please look at what's in the load

No efficient release, you always like entangled with this problem,
Close just shut down the UI, and release the fundamental what pull not top relation, so what do you think? Now that is closed, the UI is, of course, your UI associated temporarily removed, when the load in restoring

Release the object controlled by gc, no efficient release, this is not a technology, this is a habit, you use this object is the habit of fast, don't get into global object,

As also in asking these questions, do this step will become, as for the back of the pool pool, clone, cache these, you can take the first step into habits and first instinct to study
is not a software professional, before halfway decent, pure rely on baidu and book knowledge, so some problems mindless, a great god, please forgive me, in addition to get your contact number? Accept payment solutions, the price you said
  •  Tags:  
  • C#
  • Related