Creating a global function
System global functions are created in the Public Class AddInUtils in Shell.vb.
Declare them as Shared, and call them as AddInUtils.functionname.
Example:
Public Shared Function ImageSizeDlg(ByVal w As String, ByVal h As String) As InputDlg
Dim dlg As New InputDlg()
dlg.Width = 200
dlg.Title = My.Resources.STR_SetImageSize '"Set image size"
dlg.AddString(My.Resources.STR_Width, w)
dlg.AddString(My.Resources.STR_Height, h)
Return dlg
End Function