Visual C# を使用して、次の画像の機能を模倣したいと考えています。

私が知っているこれは、textboxまたは(たぶん)comboboxではありません。richtextディレクトリを取得し、それらを選択できる追加機能を取得できました。
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;
}
}
画像のようにそれらをリストする方法、iniファイルまたは XML ファイルに書き込む必要があります。
また、OS を検出する必要があり、リストに既定のフォルダーがほとんどありません。