Is a sharepoint 2007 webpart likely to work on 2010 without any modification? If not, what are the main areas that would require modification?
Have a look at my series of posts about porting a SharePoint 2007 WSPBuilder Project to SharePoint 2010.