yangyin
2024-10-25 1e65c49ba929103e79d87322ca1a3573c2b532e2
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
27
28
29
30
31
32
33
34
35
36
37
using System;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
 
namespace DPumpHydr.WinFrmUI.WenSkin.Design.Editor
{
    public class DuiWenCollectionEditor : WenCollectionEditor
    {
        public DuiWenCollectionEditor(Type type) : base(type)
        {
        }
 
        protected override Type[] CreateNewItemTypes()
        {
            return new Type[]
            {
              typeof(Microsoft.Windows.Forms.UIControl),
              typeof(Microsoft.Windows.Forms.UIButton),
              typeof(Microsoft.Windows.Forms.UIImage),
              typeof(Microsoft.Windows.Forms.UILabel),
              typeof(Microsoft.Windows.Forms.UILine),
              typeof(Microsoft.Windows.Forms.UILink),
              typeof(Microsoft.Windows.Forms.UILink),
              typeof(Microsoft.Windows.Forms.UIPanel),
              typeof(Microsoft.Windows.Forms.UIProgress),
            };
        }
        protected override object CreateInstance(Type itemType)
        {
            return base.CreateInstance(itemType);
        }
    }
}