title: Save user settings in c#
body: <p>i try to save user settings in c#.</p>
  
  <p>I can read the value and put it in a textbox but i can not change it.</p>
  
  <p>This is my WindowsForm with an textbox and a save button:</p>
  
  <pre><code>    namespace tool
  {
      public partial class Form4 : Form
      {
          string source = Properties.Settings.Default.Source;
          public Form4()
          {
              InitializeComponent();
          }
  
          private void Form4_Load(object sender, EventArgs e)
          {
              textBox1.Text = source;
          }
  
          private void textBox1_TextChanged(object sender, EventArgs e)
          {
  
          }
  
          private void save_Click(object sender, EventArgs e)
          {
              Properties.Settings.Default.Source = source;
              Properties.Settings.Default.Save();
              Application.Exit();
          }
      }
  }
  </code></pre>
  
  <p>And here is a picture with my settings:</p>
  
  <p><img src="https://i.stack.imgur.com/cylBx.png" alt="enter image description here"></p>
  
  <p>I hope someone as an idea :-)</p>
  
  <p>Thanks for help</p>