When I create a WinForms app in C#, the output type is Windows Application
and I get a program.cs
with a static void Main()
which I can use to handle command-line parameters, etc...
However, when I create an equivalent project for VB, the application type is Windows Forms Application
and I'm forced to pick a startup form.
Is there an equivalent mechanism to run my own code before I decide which form to display in VB.Net? I'm assuming the same code exists but is auto-generated and hidden somewhere? If so, where?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…