title: Checked Items in CheckedListBox
body: <p>I have a <code>CheckedListBox</code> with items from a database.
  When I check an item in the <code>CheckedListBox</code> and after that I close the form and open the form again, the item is not checked any more, i.e. the "check" has not been saved.</p>
  
  <p>How can I accomplish that if I check an item and then close the form and open it again, that the item is still checked?</p>
  
  <p>I tried this:</p>
  
  <pre><code> void deliveries_FormClosing(object sender, FormClosingEventArgs e)
      {
         for (int i = 0; i &lt; deliveries.ClbOrdersCheckDelivery.Items.Count; i++)
          {
              if (deliveries.ClbOrdersCheckDelivery.GetItemChecked(i) == true)
              {
                  Properties.Settings.Default.CheckedItems = deliveries.ClbOrdersCheckDelivery.GetItemChecked(i);
              }
          }
      }
  </code></pre>
  
  <p>]\</p>