ningshuxia
2023-02-07 d027501182b03a0c036af712a2b7f31d55144562
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace IStation.WinFormUI
{
    /// <summary>
    /// page菜单
    /// </summary>
    public class PageMenu
    {
        /// <summary>
        /// 标识
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// page
        /// </summary>
        public string Page { get; set; }
        /// <summary>
        /// group
        /// </summary>
        public string Group { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Caption { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public Image Image { get; set; }
        /// <summary>
        /// svg图片
        /// </summary>
        public DevExpress.Utils.Svg.SvgImage SvgImage { get; set; }
        /// <summary>
        /// svg图片大小
        /// </summary>
        public Size SvgImageSize { get; set; }
        /// <summary>
        /// 点击方法
        /// </summary>
        public Action ClickMethod;
 
        /// <summary>
        /// 可用性 默认可用
        /// </summary>
        public bool Enable
        {
            get { return _enable; }
            set { _enable = value; }
        }
        private bool _enable = true;
 
    } 
}