.NET inherited (WinForms) Form - VS designer issue

后端 未结 5 696
后悔当初
后悔当初 2020-12-11 02:45

I have several forms in a C# application. I use Visual Studio 2010 Beta, but .NET 3.5 and C# 3.

I have a base form, called FilteredQueryViewForm in the Shd namespace

5条回答
  •  一生所求
    2020-12-11 03:23

    I think you meant that your Form1.cs[design] didn't update when you added your base class. I had the same problem. Strangely enough, the program will run just fine when you press start, and you'll see your base class components on your Form when you run it, but not when you're in edit mode.

    Just double click Form1.cs on the solution explorer. It worked for me. Do this

提交回复
热议问题