What I've done is to add a public sub in a module and added a call statement to the .disposed handler of each of the forms in question.

It works well for consolidating the code into one place for updates, but I'm still looking for a way to add this code dynamically to the form from within the class if anyone has any thoughts.