Public Class Document Inherits BindableComponent Implements IActivatable, ISupportInitializeControl, ISupportInitialize
Dim instance As Document
public class Document : BindableComponent, IActivatable, ISupportInitializeControl, ISupportInitialize
Use Globals.ThisDocument to refer to the document instance when you are outside of the Document class, but inside of the project. Globals does not work if you are in another project.