Visual Studio Design View - form is blank

后端 未结 6 1069
别跟我提以往
别跟我提以往 2021-02-04 14:38

I have a C# project with two forms. All compiles well. When I run the project, all forms are drawn as they are expected to.

A couple of days back, the DesignView of

6条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-04 15:13

    Another possibility: The designer seems to try to design the first class in the .h file, no matter what's its name. I just had an empty forward ref class declaration before the actual form class, and it tried use that.

提交回复
热议问题