예제 #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;
 }