lixiaojun
2024-11-17 c390474980cea47189c1fcc962315b9867c9e2ce
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
namespace Yw.WinFrmUI
{
    /// <summary>
    /// 确定是否为允许显示编辑框
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
    public class ShowEditorAttribute : Attribute
    {
        /// <summary>
        /// 
        /// </summary>
        public ShowEditorAttribute(bool showEditor)
        {
            this.ShowEditor = showEditor;
        }
 
        /// <summary>
        /// 
        /// </summary>
        public bool ShowEditor { get; set; }
 
    }
}