Rhino inside Windows Form or Wpf Window

I have encapsulated rhino inside a window form and I create many points and lines programmatically .
For doing this , I modify the sample in github. Now i want to modify the geometrical shapes with the mouse.
(Move a point , create a new Point). I don’t known how make this .

Thanks

Hi @pvtreservoir,

Are you looking at this sample?

If so, then the sample, as you know uses the ViewportControl found in the RhinoWindows.dll assembly. This control provide a read-only view of the model. That is, you can look at the model but you cannot select objects with the mouse, move objects interactvely, etc.

If you need to edit objects, then just show the Rhino main window.

Hope this helps.

– Dale

Thanks