关于禁用按钮的重要警告是要记住在适当的时候重新启用它们。
The major caveat with disabling buttons is to remember to re-enable them at an appropriate time.
例如,您可能要在窗体上调用一个禁用按钮或更新显示的方法来响应某个线程执行的操作。
For example, you might call a method that disables a button or updates a display on a form in response to action taken by a thread.
关键问题是何时应该 启用或禁用一个按钮。
应用推荐