This repository has been archived on 2023-01-27. You can view files and clone it, but cannot push or open issues or pull requests.
cad/ref/xcad-examples/EventsHandler/vb/AddIn.vb
2022-10-15 19:16:08 +02:00

12 lines
334 B
VB.net

Imports System.ComponentModel
Imports Xarial.XCad.Documents
<Runtime.InteropServices.ComVisible(True)>
<DisplayName("Event Handlers Example")>
Public Class AddIn
Inherits Xarial.XCad.SolidWorks.SwAddInEx
Public Overrides Sub OnConnect()
Application.Documents.RegisterHandler(Of DocHandler)()
End Sub
End Class