For a user control with internal data structures that must be disposed, is the correct place to add that code to the Dispose method in the .designer.cs file, or is there an
Or, you could cut and paste it over to the main .cs file. That code is not inside of "#region Component Designer generated code", so Studio won't miss it.