title: Listing a table of folders using C#
body: <p>I want to mimic the functionality of the following image using Visual C#:</p>
  
  <p><img src="https://i.stack.imgur.com/Ew2tO.png" alt="Uploaded image"></p>
  
  <p>This I know is not a <code>textbox</code> or a <code>combobox</code> or a <code>richtext</code> (Maybe).
  I managed to get the add function, where I get directories and I can select them:</p>
  
  <pre><code>private void button8_Click(object sender, EventArgs e)
  {
      this.folderBrowserDialog1.ShowNewFolderButton = false;
      this.folderBrowserDialog1.RootFolder = System.Environment.SpecialFolder.MyComputer;
      DialogResult result = this.folderBrowserDialog1.ShowDialog();
      if (result == DialogResult.OK)
      {
          // the code here will be executed if the user selects a folder
          string path = this.folderBrowserDialog1.SelectedPath;
      }
  }
  </code></pre>
  
  <p>How do I list them like in the image, should I write it to an <code>ini</code> file, or XML file, and then if so how do I list it in the box as shown.</p>
  
  <p>I also need to detect the OS and have few default folders in the list.</p>