Implement the PPC Click the window X button to close the program

zhaozj2021-02-16  71

.NET 2003 C #

Generally, the program will not quit after the X button of the point window, but minimizes, waiting for system management

Just add the following code in Form_Load to exit after clicking:

THIS.CONTROLBOX = True; this.minimizebox = false;

转载请注明原文地址:https://www.9cbs.com/read-16031.html

New Post(0)