How to stop visual studio from opening my winforms controls in the designer

前端 未结 2 1756
孤城傲影
孤城傲影 2021-02-14 21:43

When I want to edit/view the code for a winforms control/form i created, I need to right-click in the solution and select \"view code\". The default action for opening the file

2条回答
  •  借酒劲吻你
    2021-02-14 22:14

    • Right-click on a file in your solution
    • Select "Open With..."
    • Select "CSharp Editor"
    • Click "Set as Default".
      (In a web application, you need to select "Web Form Editor")

提交回复
热议问题