yangyin
2024-10-22 90573e299e2eea301a0ad8585a7e6b95d7a798bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System.ComponentModel.Design;
 
namespace System.Windows.Forms
{
    class RibbonOrbRecentItemCollectionEditor
        : CollectionEditor
    {
        public RibbonOrbRecentItemCollectionEditor()
           : base(typeof(RibbonOrbRecentItemCollection))
        {
        }
 
        protected override Type CreateCollectionItemType()
        {
            return typeof(RibbonOrbRecentItem);
        }
 
        protected override Type[] CreateNewItemTypes()
        {
            return new[] {
            typeof(RibbonOrbRecentItem),
            typeof(RibbonSeparator)
         };
        }
    }
}