tangxu
2024-10-14 6cd995b71dfc74d4d96347d0bc535fddf36fa9df
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
using System.ComponentModel.Design;
 
namespace System.Windows.Forms
{
    class RibbonOrbOptionButtonCollectionEditor
        : CollectionEditor
    {
        public RibbonOrbOptionButtonCollectionEditor()
           : base(typeof(RibbonOrbOptionButtonCollection))
        {
        }
 
        protected override Type CreateCollectionItemType()
        {
            return typeof(RibbonOrbOptionButton);
        }
 
        protected override Type[] CreateNewItemTypes()
        {
            return new[] {
            typeof(RibbonOrbOptionButton)
         };
        }
    }
}