This diagram demonstrates the project templates and project item templates that you can use when developing Web Parts in Visual Studio. While these templates have the same end result (a cool Web Part running SharePoint), the development experience can vary between working with code or using a designer to build the UI. For more information, see the following MSDN topics.

Web Part Development Options in SharePoint 2010