Could you make an example that is using the recommended WebPart and not the SharePoint WebPart?
Note to SeniorSeniorSoftwareDeveloper ... Thomas Lee,
WebPart is a member of Microsoft.SharePoint.WebPartPages, and not something meaningful outside the context of SharePoint. So, in the example,
Public Class SimpleWebPart Inherits WebPart
Inheriting from WebPart is the recommend approach.
-bac