NekoManu Posted October 28, 2004 Posted October 28, 2004 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? Quote
stustarz Posted October 28, 2004 Posted October 28, 2004 There is a 'closing' event on the form control that may be of use to you. Quote Visit: VBSourceSeek - The VB.NET sourcecode library "A mere friend will agree with you, but a real friend will argue."
NekoManu Posted October 28, 2004 Author Posted October 28, 2004 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.