public override bool EditComponent(ITypeDescriptorContext context, object component)
{
if(component is ProjectNodeProperties)
{
IVsPropertyPageFrame propertyPageFrame = (IVsPropertyPageFrame)serviceProvider.GetService((typeof(SVsPropertyPageFrame)));
int hr = propertyPageFrame.ShowFrame(Guid.Empty);
if(ErrorHandler.Succeeded(hr))
return true;
else
ErrorHandler.ThrowOnFailure(propertyPageFrame.ReportError(hr));
}
return false;
}