Visual studio 2019 windows forms designer

后端 未结 6 549
独厮守ぢ
独厮守ぢ 2020-12-20 13:44

I\'m having a problem with the windows form application . When I create the windows form application , it displays the source code for the form but not the designer layout

6条回答
  •  猫巷女王i
    2020-12-20 14:29

    I had the same problem. The following steps helped me

    1. Remove any other classes than the Form class in the yourformname.cs file
    2. Unload the project and right click on the project and choose edit project
    3. Make sure yourformname form has the SubType set to form Form and save the file
    4. Reload the project

提交回复
热议问题