title: Reading every paragraph in text file alone
body: <p>I want to read a text file which contains more than one paragraph separated by new lines. How to read every paragraph alone in <code>RichTextBox</code> and how to transfer to the next paragraph by button next and back to the first paragraph by button previous designed in the form. My code  </p>
  
  <pre><code>private void LoadFile_Click(object sender, EventArgs e)
  {
      OpenFileDialog dialog = new OpenFileDialog();
      dialog.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*";
      dialog.Title = "Select a text file";
      dialog.ShowDialog();
  
      if (dialog.FileName != "")
      {
          System.IO.StreamReader reader = new System.IO.StreamReader(dialog.FileName);
          string Text = reader.ReadToEnd();
          reader.Close();
          this.Input.TextChanged -= new System.EventHandler(this.Input_TextChanged);
          Input.Clear();
          Input.Text = Text;
      } 
  } 
  </code></pre>