我需要能够将参数传递给我的 Windows 应用程序,以便我可以根据传递的参数运行代码:
下面是windows应用程序开始运行时调用的函数:我需要这个方法有参数。
Private Sub Start_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Try
Dim Mgr As New StartMgr
Mgr.Import() // from here controls goes to a class library and it the whole //code, I need this function Import(arg) so that it can run partial code based on args
Me.Visible = False
Me.Close()
Catch ex As Exception
Finally
Application.Exit()
End Try
End Sub