Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...