title: How do I persist RichTextBox data between launches?
body: <p>Hi i'm a new programmer and thanks to the help of a guy from another one of my questions. I managed to preserve <code>TextBox</code> data when closing and reopening the app via this method:</p>
  
  <pre><code>public Form1()
  {
      InitializeComponent();
  
      InitializeSavedValues();
      textBox1.TextChanged += textBox1_TextChanged;
  }
  
  private void InitializeSavedValues()
  {
      textBox1.Text = (string)Properties.Settings.Default["TextBoxValue"];
  }
  
  private void textBox1_TextChanged(object sender, EventArgs e)
  {
      Properties.Settings.Default["TextBoxValue"] = ((TextBox)sender).Text;
      Properties.Settings.Default.Save();
  }
  </code></pre>
  
  <p>Would there be a way for me to use something similar with a <code>RichTextBox</code> when I close and reopen the form? </p>