The samples target Rhino 5, and with the WIP version there are many breaking changes in the public API of Rhino. You seem to have found some . You may have more luck here http://developer.rhino3d.com/wip/samples/#cpp
The panel code has seen some extensive changes, an operation conducted by @andy. My guess is that the samples in this area have not been updated to reflect the API changes.
Thanks for clarifying. The API changes appear pretty trivial so should be able to get them to working without too much bother. They have been a great help.