C++ development encountered problems for help!

Dear friends,I’m having trouble developing a plugin in c++. I’m here for help!

We have encountered some problems when developing plug-ins with c++ programming and need your help! Here’s the question. I’ve defined a new object, TestObject(with a circle and a point inside), which inherits from CRhinoObject. How to add the contents of TestObject::Pick() and TestObject::SnapTo() to the new object?
Can you give a demonstration? Thank you !