使用WinFrom控件

2020-11-11  本文已影响0人  久百一

编辑工程文件 在UseWPF下 加上<UseWindowsForms>true</UseWindowsForms>

  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net5.0-windows</TargetFramework>
    <UseWPF>true</UseWPF>
    <UseWindowsForms>true</UseWindowsForms>
    <Platforms>AnyCPU;x86</Platforms>
  </PropertyGroup>
上一篇 下一篇

猜你喜欢

热点阅读