About the debugging details of the applet made by C # And the visible attribute and several event methods in C,
1. During debugging, do not use the X number of the debugging program to close the program, but use the interface that comes with VS to stop debugging, that is, the small square. Otherwise, an exception will occur in the next debugging. If this happens, right-click the project name and click clean.
Ii. Visible attributes
Is "visible". If this. visible = false is set in the property, the current control will be hidden,
If it is set in the control condition, for example, In the While condition or in the for loop condition or if condition, Directly Writing visible is equivalent to writing this. visible = true;
3. Several small Methods
System. Threading. Thread. Sleep (3); pause the code for 3 milliseconds
Application. DoEvents (); enables your operating system to process other events outside your program. Otherwise, the operating system may not listen to other events.
16/2/29/23 :50