Well, I got tired of it. So… I added this to a few forms.
/* This is not a real class, it's sole purpose is to sit at the end of this file and
"catch" the events that the wizard puts in. There is a bug / "feature?" lol where they
just look for the last "}" and stick it above that.
Well, I have my OWN classes down here, so it doesn't quite work out! ;)
So here is a nice clean place for it to land so you can cut and paste it back to
the "Script" class where it belongs. */
class EpicorEventCatcher
{
}
After Wizard Add Event
/* This is not a real class, it's sole purpose is to sit at the end of this file and
"catch" the events that the wizard puts in. There is a bug / "feature?" lol where they
just look for the last "}" and stick it above that.
Well, I have my OWN classes down here, so it doesn't quite work out! ;)
So here is a nice clean place for it to land so you can cut and paste it back to
the "Script" class where it belongs. */
class EpicorEventCatcher
{
private void CustShipForm_Closing(object sender, System.ComponentModel.CancelEventArgs args)
{
// Add Event Handler Code
}
}
