This code goes in GpAddIn.vb
Imports Microsoft.VisualBasic
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports Microsoft.Dexterity.Bridge
Imports Microsoft.Dexterity.Applications
Imports Microsoft.Dexterity.Applications.MicrosoftDynamicsGpModified
Public Class GPAddIn
Implements IDexterityAddIn
Dim oEditCheckBatch As New EditCheckBatch
' IDexterityAddIn interface
Sub Initialize() Implements IDexterityAddin.Initialize
AddHandler MicrosoftDynamicsGpModified.Forms.PmEditCheckBatch.EditCheckBatch.LocalProcessHoldbacks.ClickAfterOriginal, AddressOf oEditCheckBatch.ProcessHoldbacks_Click
End Sub
End Class
This is the code for the Form Class
Public Class EditCheckBatch
Sub ProcessHoldbacks_Click(sender As Object, e As System.EventArgs)
End Sub
End Class