Winforms add-in problem

909
2
Jump to solution
02-26-2020 03:17 AM
JaewonYang
New Contributor III

Hello all,

I am working on a research project for tunnelling in which I have to use winforms as input pages through configuration add-in but I am having a problem with winforms. When I click an add-in button and the winform pops up it doesn't let me add the text into the text boxes. I have checked and readonly property for the text box, it is set to false. I cannot figure out the problem. Kindly help me with this issue.

Picture added are showing before the map load and after the map load states.

0 Kudos
1 Solution

Accepted Solutions
Wolf
by Esri Regular Contributor
Esri Regular Contributor

Sorry Jaewon, the Pro SDK only supports ArcGIS Pro add-ins and configurations that are using WPF.  In addition input forms also require the MVVM (Model-View-ViewModel) pattern.  See https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Migrating-to-ArcGIS-Pro#wpf-and-mvvm

View solution in original post

2 Replies
Wolf
by Esri Regular Contributor
Esri Regular Contributor

Sorry Jaewon, the Pro SDK only supports ArcGIS Pro add-ins and configurations that are using WPF.  In addition input forms also require the MVVM (Model-View-ViewModel) pattern.  See https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Migrating-to-ArcGIS-Pro#wpf-and-mvvm

by Anonymous User
Not applicable

Hi Jaewon Yang‌,

You can use ArcGIS Pro ProWindow which is quite suitable for what you are trying to do.

You can get some sample code in coordsysdialog and others in https://github.com/Esri/arcgis-pro-sdk-community-samples/search?q=ProWindow&unscoped_q=ProWindow