Solution settings > on form creation

I would like to be able to trigger a method after I created a form in a solution and have the form and module name retrieved from it as arguments.

Reasons why is to be able to:

  • show a dialog with the name of the module in which the form is created
  • give a warning if the form is created in the wrong module
  • set form info in my datastructure table