I have need to add additional code to the Dispose()
event of a VB .Net UserControl. How can I do this without coming into conflict with the designer-generated code?
Can the event be moved from usercontrol.designer.vb
to usercontrol.vb
..? Alternatively, is there a way to split the event between the two files, or tell the designer not to generate that event..? Or, override the override so to speak, between the partial class to the main one..?