zoukankan      html  css  js  c++  java
  • Winform Field interface

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    namespace Bronze.DEPSP.Complaint
    {
        public interface IFormField
        {
            /// <summary>
            /// 表单字段名
            /// </summary>
            string FieldName { get; set; }
            /// <summary>
            /// 控件值
            /// </summary>
            object FieldValue { get; set; }
            string ValuePropertyName { get; set; }
            /// <summary>
            /// 是否允许为空
            /// </summary>
            bool AllowBlank { get; set; }
            string EmptyText { get; set; }
            string VaildExpression
            {
                get;
                set;
            }
            /// <summary>
            /// 验证为空时的提示信息
            /// </summary>
            string EmptyMsg { get; set; }
            /// <summary>
            /// 控件默认值
            /// </summary>
            string DefaultValue { get; set; }
            /// <summary>
            /// 判断是否为空
            /// </summary>
            /// <returns></returns>
            bool InputEmpty();
        }
    }
  • 相关阅读:
    Linux命令之乐--nmap
    shell脚本学习总结09--分支与循环结构
    shell脚本学习总结08--比较与测试
    Linux命令之乐--test
    Linux命令之乐--read
    shell脚本学习总结06--数学计算
    Linux命令之乐--time
    Linux命令之乐--expr
    Linux命令之乐--seq
    Linux命令之乐--rename
  • 原文地址:https://www.cnblogs.com/jintan/p/1946391.html
Copyright © 2011-2022 走看看