public override object GetAutomationObject()
{
if(this.ProjectManager == null || this.ProjectManager.IsClosed)
{
return null;
}
return new Automation.OAReferenceItem(this.ProjectManager.GetAutomationObject() as Automation.OAProject, this);
}