Esempio n. 1
0
 private void InitializeRecentProjectsItem()
 {
     foreach (string recentProject in AppCore.Current.CurrentSettings.RecentProjects)
     {
         var menuItem = new ToolStripMenuItem
         {
             Text = GetShortFileLabel(recentProject),
             Tag  = recentProject
         };
         menuItem.BindCommand(_recentProjectOpenCommand);
         recentProjectsToolStripMenuItem.DropDownItems.Add(menuItem);
     }
 }