FormRecentFiles.cs
// Copyright 2010 ESRI // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // You may freely redistribute and use this sample code, with or // without modification, provided you include the original copyright // notice and use restrictions. // // See the use restrictions. // using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace RecentFilesCommandsCS { internal partial class FormRecentFiles : Form { public FormRecentFiles() { InitializeComponent(); } public void PopulateFileList(string[] files) { lstFiles.Items.Clear(); lstFiles.Items.AddRange(files); } } }