Ejemplo n.º 1
0
 public static RepositoryComboboxAuto CotComboboxFind(TreeList treeList , TreeListColumn column , string ColumnField , string ValueField, string DisplayField , string TableName , bool StartWith)
 {
     column.AppearanceHeader.Options.UseTextOptions = true;
     column.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     column.FieldName = ColumnField+DisplayField;
     RepositoryComboboxAuto comboFind = new RepositoryComboboxAuto(treeList ,ColumnField, TableName , ValueField , DisplayField , StartWith);
     column.ColumnEdit = comboFind;
     return comboFind;
 }
Ejemplo n.º 2
0
 public static RepositoryComboboxAuto CotPLComboboxAuto(GridView gridView, GridColumn column, string ColumnField, string ValueField, string DisplayField, string TableName, bool StartWith)
 {
     HelpGridColumn.SetHorzAlignment(column, HorzAlignment.Center);
     column.FieldName = ColumnField + DisplayField;
     RepositoryComboboxAuto comboFind = new RepositoryComboboxAuto(gridView, ColumnField, TableName, ValueField, DisplayField, StartWith);
     column.ColumnEdit = comboFind;
     return comboFind;
 }