add some constants for index types
This commit is contained in:
@@ -27,7 +27,7 @@ Public Class ClassControls
|
||||
chk.Location = New Point(11, y)
|
||||
chk.Tag = New ControlMeta() With {
|
||||
.IndexName = indexname,
|
||||
.IndexType = "BOOLEAN"
|
||||
.IndexType = ClassConstants.INDEX_TYPE_BOOLEAN
|
||||
}
|
||||
|
||||
If caption <> "" Then
|
||||
@@ -312,7 +312,7 @@ Public Class ClassControls
|
||||
}
|
||||
|
||||
Select Case DataType
|
||||
Case "INTEGER"
|
||||
Case ClassConstants.INDEX_TYPE_INTEGER
|
||||
oEdit.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric
|
||||
oEdit.Properties.Mask.EditMask = "d"
|
||||
Console.WriteLine()
|
||||
|
||||
Reference in New Issue
Block a user