private void button1_Click(object sender, EventArgs e) { StringBuilder sb = new StringBuilder(); for (int i = 1; i < this.Application.RecentFiles.Count; i++) { sb.Append(this.Application.RecentFiles[i].Name + "/n"); } MessageBox.Show(sb.ToString(),"All RecentFiles"); }