예제 #1
0
        public void EditProjects()
        {
            using (frmProjects frm = new frmProjects())
            {
                frm.ProjectList = (ProjectMRU.Items as List <string>);
                if (frm.ShowDialog() == DialogResult.OK)
                {
                    // Reload MRU list from form's grid.
                    ProjectMRU.Clear();
                    ProjectMRU.AddRange(frm.ProjectList);

                    ValidateProjectMRU();
                    ProjectMRU.Save();

                    // Now update the tray menu items.
                    UpdateProjectMenuItemsFromMRU();
                }
            }
        }
예제 #2
0
        public void EditProjects()
        {
            using (frmProjects frm = new frmProjects())
            {
                frm.ProjectList = (ProjectMRU.Items as List<string>);
                if (frm.ShowDialog() == DialogResult.OK)
                {
                    // Reload MRU list from form's grid.
                    ProjectMRU.Clear();
                    ProjectMRU.AddRange(frm.ProjectList);

                    ValidateProjectMRU();
                    ProjectMRU.Save();

                    // Now update the tray menu items.
                    UpdateProjectMenuItemsFromMRU();
                }
            }
        }