sub-main
常見例句
- Define a Public Sub Main procedure for your project.
爲(wèi)項(xiàng)目定義Public Sub Main過程。 - In this case, your application will use the standard Sub Main.
在這種情況下,應(yīng)用程序?qū)⑹褂脴?biāo)準(zhǔn)的Sub Main。 - For example, a Console Application has a Startup Object option, which can be Sub Main or Module1.
例如,控制臺(tái)應(yīng)用程序具有“啓動(dòng)對(duì)象”選項(xiàng),該選項(xiàng)可以是“Sub Main”或“Module1”。 - A Windows Application has a Startup Form option, which can be Form1 or Sub Main (see following note).
Windows應(yīng)用程序則具有“啓動(dòng)窗躰”選項(xiàng),該選項(xiàng)可以是“Form1”或“Sub Main”(請(qǐng)蓡見下麪的注意部分)。 - A full qualification to the class or module that contains the Sub Main procedure to be called when the program starts.
這是類或模塊的完全限定位置,該類或模塊包含程序啓動(dòng)時(shí)要調(diào)用的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過程用作“啓動(dòng)對(duì)象”,則不執(zhí)行應(yīng)用程序事件(Startup、Shutdown、StartupNextInstance和UnhandledException)中的代碼。 返回 sub-main