当前位置: 动力学知识库 > 问答 > 编程问答 >

c# - Windows Form Event Disappearing

问题描述:

This question already has an answer here:

  • Manual editing of *.designer.cs file

    5 answers

网友答案:

This is why you don't edit the designer code. It's specifically designed to not maintain these types of changes.

You should be subscribing to the event in the object's constructor, load event, or some similar location.

分享给朋友:
您可能感兴趣的文章:
随机阅读: