title: How to save window resources
body: <p>In my application I'm creating a style like this:</p>
  
  <pre><code>Dim ButtonStyle as new Style(GetType(Button))
  ButtonStyle.Setters.Add(New Setter(BackgroundProperty,Brushes.Gray))
  Resources.Add("ButtonStyle", ButtonsStyle)
  </code></pre>
  
  <p>And I would like to save this style when the application exits so that when the application runs next time it would load my new style. Is it possible?</p>