示例#1
0
文件: DexGrid.cs 项目: XiaoQiJun/BPS
        public GridColumn(string headerName, string fieldName, Unit unit, FieldType type, ButtonType button, string commandName, HorizontalAlign hAlign)
        {
            this.headerName = headerName;
            this.fieldName = fieldName;
            this.unit = unit;
            this.type = type;
            this.button = button;
            this.commandName = commandName;
            this.hAlign = hAlign;

            if (type == FieldType.TextBoxTemplate)
            {
                _textBoxTemplate = new TextBoxTemplate(fieldName);
            }
        }
示例#2
0
文件: DexGrid.cs 项目: XiaoQiJun/BPS
 public GridColumn(TextBoxTemplate textBoxTemplate)
 {
     _textBoxTemplate = textBoxTemplate;
 }