public override IProjectFile Open()
 {
     if (_projectPropertiesEditor == null)
     {
         _projectPropertiesEditor = new ProjectPropertiesEditor(this);
         if (_tabItem != null)
         {
             _tabItem.Close();
         }
         _tabItem = TabStripItemFactory.CreateTabStripItem(_projectPropertiesEditor, this);
         _tabItem.Closed += TabItemClosed;
     }
     return this;
 }
 public override void Close()
 {
     try
     {
         _closing = true;
         if (_tabItem != null)
         {
             _tabItem.Close();
             _tabItem = null;
         }
         if (_projectPropertiesEditor != null)
         {
             _projectPropertiesEditor.Dispose();
             _projectPropertiesEditor = null;
         }
     }
     finally
     {
         _closing = false;
     }
 }