I have found mixed opinions regarding this question in answers to other questions, but have not found a question that directly addresses it.
Is it necessary to move the Dispose method, in a winforms generated .Designer.cs file, to the m开发者_如何学运维ain code file so that the designer will not overwrite changes I have made to the method?
No, you won't lose it. But move it, the customization isn't discoverable in a file that nobody ever looks at.
精彩评论