# Extract shape editor toolbar from MapWindow5

**URL:** <https://mapwindow.discourse.group/t/extract-shape-editor-toolbar-from-mapwindow5/345>\
**Category:** MapWindow5-users\
**Created:** [November 15, 2019, 12:58pm UTC](https://mapwindow.discourse.group/t/extract-shape-editor-toolbar-from-mapwindow5/345 "2019-11-15T12:58:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mariano](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Mariano](https://mapwindow.discourse.group/u/Mariano)\
**Post date:** [November 15, 2019, 12:58pm UTC](https://mapwindow.discourse.group/t/extract-shape-editor-toolbar-from-mapwindow5/345/1 "2019-11-15T12:58:53Z")

</div>

I’m trying to do buttons with the same functionality as the Shape editor toolbar in a winform with mapwingis, but I’m having a lot of problems (I’m noob). It’s possible to export the whole toolbar easily?

Thankyou

---

<div class="post-metadata">

**Author:** ![pmeems](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/pmeems/32/9_2.png) [@pmeems](https://mapwindow.discourse.group/u/pmeems)\
**Post date:** [November 18, 2019, 1:22pm UTC](https://mapwindow.discourse.group/t/extract-shape-editor-toolbar-from-mapwindow5/345/2 "2019-11-18T13:22:07Z")

</div>

You can have a look at the source code of MW5 and extract the code for the toolbar.  
But it might be much easier to create a plug-in for MW5 instead of building your own application using MapWinGIS.

With a plug-in you’ll only need to create your business logic and re-use everything from MW5.  
We have a template plug-in which will bring you up to speed available in the [release section](https://github.com/MapWindow/MapWindow5/releases/tag/v5.4.0) on github.

---

<div class="post-metadata">

**Author:** ![Mariano](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Mariano](https://mapwindow.discourse.group/u/Mariano)\
**Post date:** [November 18, 2019, 2:56pm UTC](https://mapwindow.discourse.group/t/extract-shape-editor-toolbar-from-mapwindow5/345/3 "2019-11-18T14:56:53Z")

</div>

I’ll take a look, but I need it in a windows form to implement it in my general project. I only need something like a GIS visor window for edit layers and its attributes. Is it possible to do with the plugin template?

---

<div class="post-metadata">

**Author:** ![pmeems](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/pmeems/32/9_2.png) [@pmeems](https://mapwindow.discourse.group/u/pmeems)\
**Post date:** [November 18, 2019, 3:09pm UTC](https://mapwindow.discourse.group/t/extract-shape-editor-toolbar-from-mapwindow5/345/4 "2019-11-18T15:09:26Z")

</div>

If you need to integrate it in an existing project using MapWinGIS might be easier.  
The code for the shapefile editor can be found at [GitHub](https://github.com/MapWindow/MapWindow5/tree/master/src/Plugins/MW5.ShapeEditor)

---

<div class="post-metadata">

**Author:** ![pmeems](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/pmeems/32/9_2.png) [@pmeems](https://mapwindow.discourse.group/u/pmeems)\
**Post date:** [January 5, 2022, 3:08pm UTC](https://mapwindow.discourse.group/t/extract-shape-editor-toolbar-from-mapwindow5/345/5 "2022-01-05T15:08:55Z")

</div>


