duheng
2025-01-13 e7df5d1ece7ecabaa7a3943f24a6621649fdc455
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; }
 
    }
}