How do I keep Visual Studio's Windows Forms Designer from deleting controls?

前端 未结 6 1641
离开以前
离开以前 2020-12-21 05:19

With several forms of mine, I occasionally run into the following issue: I edit the form using the designer (Visual Studio 2008, Windows Forms, .NET 2.0, VB.NET) to add comp

6条回答
  •  礼貌的吻别
    2020-12-21 05:58

    Another piece of good practice, do not delete default form constructors. IDE uses them, even when your logic do not. Locking is also useful.

提交回复
热议问题