Consider placing the code where the event is raised in a try-catch block to prevent program termination due to unhandled exceptions thrown from the event handlers.

  • 考虑将引发事件的代码放置在try-catch块中,以防止由事件处理程序引发的未处理异常所导致的程序终止。
目录 查词历史