public static RepositoryItemMemoExEdit CotMemoExEdit(GridColumn Column, string ColumnField) { SetHorzAlignment(Column, HorzAlignment.Far); Column.ColumnEdit = HelpRepository.GetMemoExEdit(); if (ColumnField != null) { Column.FieldName = ColumnField; } return((RepositoryItemMemoExEdit)Column.ColumnEdit); }
public static RepositoryItemDateEdit CotDateEdit(GridColumn Column, string ColumnField, string Format) { SetHorzAlignment(Column, HorzAlignment.Default); SetDateDisplayFormat(Column, Format); Column.ColumnEdit = (HelpRepository.GetDateEdit(Format)); if (ColumnField != null) { Column.FieldName = ColumnField; } return((RepositoryItemDateEdit)Column.ColumnEdit); }