sub-main
常见例句
- Define a Public Sub Main procedure for your project.
爲項目定義Public Sub Main過程。 - In this case, your application will use the standard Sub Main.
在這種情況下,應用程序將使用標準的Sub Main。 - For example, a Console Application has a Startup Object option, which can be Sub Main or Module1.
例如,控制台應用程序具有“啓動對象”選項,該選項可以是“Sub Main”或“Module1”。 - A Windows Application has a Startup Form option, which can be Form1 or Sub Main (see following note).
Windows應用程序則具有“啓動窗躰”選項,該選項可以是“Form1”或“Sub Main”(請蓡見下麪的注意部分)。 - A full qualification to the class or module that contains the Sub Main procedure to be called when the program starts.
這是類或模塊的完全限定位置,該類或模塊包含程序啓動時要調用的Sub Main過程。 - When using a custom Sub Main procedure as the Startup object, code in the application events (Startup, Shutdown, StartupNextInstance, and UnhandledException) is not executed.
如果將自定義Sub Main過程用作“啓動對象”,則不執行應用程序事件(Startup、Shutdown、StartupNextInstance和UnhandledException)中的代碼。 返回 sub-main