Load - UnLoad?

NekoManu

Regular
Joined
Jul 23, 2004
Messages
75
Location
Belgium
I have a UserControl where in the Load Event I Read the settings from the registry. I also want to write those settings back to the registry.

My question is which event do I use? What is the opposite of Load? Is there something like Unload?
 
I know BUT I want to write those settings to the registry automatically. If I use the closing event of the form, I need to call the method for writing the settings each time I use my control.

Like in the Load of the control, I will have the settings each time I use the control. The same way I want to write the settings each time I use the control.
 
Back
Top