Example #1
0
        private void lbRecent_MouseClick(object sender, MouseEventArgs e)
        {
            var index = lbRecent.IndexFromPoint(e.Location);

            if (index >= 0)
            {
                var recentFile = (RecentFileRecord)recentFileRecordBindingSource[index];
                documentContainer.OpenFile(recentFile.FileName);
            }
        }