ARCGIS PRO SDK NET6框架wpf界面下使用winform控件

用记事本,打开项目工程csproj文件,添加:

<UseWindowsForms>true</UseWindowsForms>

放置的位置是,【项目名】.csproj文件,在Visual Studio 2022 里双击项目名可以打开这个文件,见下图: