title: Using ApplicationSettings to store Checked property for WinForms RadioButtons
body: <p>I have a WinForms dialog box that contains 3 radio buttons. I am using <code>ApplicationSettings</code> to bind the Checked property of each of these <code>RadioButton</code> controls, but it doesn't do what I am expecting it to do. Now I have to click each radio button twice before it gets checked and the selected radio button is not being persisted.</p>
  
  <p>Is there a line of code I need to execute when the form is closed that saves the user settings?</p>
  
  <p>How do I eliminate the need for 2x clicking on the radio buttons?</p>
  
  <p>Is there a better way to persist this type of user setting? I do have a public property on the dialog box class that gets/sets an enum value based on which radio button is checked, but I didn't see an easy way of binding that property to a user setting.</p>
  
  <p><strong>Edit:</strong> Should have specified that I'm using vb.net. I think that means <code>My.Settings</code> instead of <code>Properties.Settings</code>.</p>