Exemple #1
0
 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);
 }
Exemple #2
0
 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);
 }