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

前端 未结 2 1762
孤城傲影
孤城傲影 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:06

    Decrotate your Form or Control that should open in code view with [System.ComponentModel.DesignerCategory("Code")]

提交回复
热议问题