Start VB.NET GUI app using Sub Main or form startup object?

后端 未结 4 1957
一整个雨季
一整个雨季 2021-01-01 22:18

Is there any reason to start a GUI program (application for Windows) written in VB.NET in the Sub Main of a module rather than directly in a form?

EDIT: The program

4条回答
  •  情话喂你
    2021-01-01 23:14

    No, if you always want to show that form.
    Yes, if you sometimes want to use your app without GUI, just using command line.

提交回复
热议问题