Database Reference
In-Depth Information
System.EventArgs) Handles
_ btnOpenSSISPkgInCatalog.Click
btnOpenSSISPkgInCatalogClick()
End Sub
End Class
Again, the code behind the form is sparse. Most of the real work is done elsewhere.
Let's build that part now.
Add a module to the solution and name it frmMainHelper . Add the following
code to the new module:
'
' frmMainHelper module
'
' I use a Helper Pattern when developing interfaces.
' Each form is named frm_____ and there is
a corresponding module named frm_____Helper.vb.
' Each event method calls a subroutine in the Helper
module.
'
' This module supports frmMain.
'
Imports System
Imports System.Windows
Imports System.Windows.Forms
Imports Microsoft.SqlServer.Dts.Runtime.Wrapper
Imports Microsoft.SqlServer.Management.IntegrationServices
Imports Microsoft.SqlServer.Management.Smo
Module frmMainHelper
Public Sub InitFrmMain()
' initialize and load frmISTree
' define the version
Dim sVer As String
= System.Windows.Forms.Application.ProductName & " v" & _
Search WWH ::




Custom Search