Qqb*_*qbt 6 vb.net events visual-studio-2010
我只是不能,我猜测某些东西没有启用,但是什么?

转到解决方案树中的"我的项目"节点.点击此按钮:

它应该导致以下文件:
Namespace My
' The following events are available for MyApplication:
'
' Startup: Raised when the application starts, before the startup form is created.
' Shutdown: Raised after all application forms are closed. This event is not raised if the application terminates abnormally.
' UnhandledException: Raised if the application encounters an unhandled exception.
' StartupNextInstance: Raised when launching a single-instance application and the application is already active.
' NetworkAvailabilityChanged: Raised when the network connection is connected or disconnected.
Partial Friend Class MyApplication
End Class
End Namespace
Run Code Online (Sandbox Code Playgroud)
在那里,你应该在代码编辑器的左侧ComboBox中有(MyApplication Events),在右侧的ComboBox中有事件列表.
注意:在创建此文件之前,您可能必须删除已有的空文件.
| 归档时间: |
|
| 查看次数: |
6123 次 |
| 最近记录: |