📄 u_adddevice.dfm
字号:
object Frm_AddDevice: TFrm_AddDevice
Left = 154
Top = 175
Align = alClient
BorderStyle = bsNone
Caption = #22686#21152#35774#22791
ClientHeight = 421
ClientWidth = 705
Color = 15520176
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
WindowState = wsMaximized
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 232
Top = 48
Width = 61
Height = 15
Caption = #35774#22791'ID'#65306
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -15
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object Label2: TLabel
Left = 218
Top = 80
Width = 75
Height = 15
Caption = #35774#22791#21517#31216#65306
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -15
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object Label3: TLabel
Left = 232
Top = 112
Width = 61
Height = 15
Caption = 'IP'#22320#22336#65306
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -15
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object Label4: TLabel
Left = 233
Top = 144
Width = 60
Height = 15
Caption = #31471#21475#21495#65306
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -15
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object Label5: TLabel
Left = 248
Top = 176
Width = 45
Height = 15
Caption = #23494#30721#65306
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -15
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object cxDBMaskEdit1: TcxDBMaskEdit
Left = 288
Top = 47
DataBinding.DataField = 'DeviceID'
DataBinding.DataSource = dsDevice
Properties.MaskKind = emkRegExpr
Properties.MaxLength = 0
Style.LookAndFeel.Kind = lfFlat
StyleDisabled.LookAndFeel.Kind = lfFlat
StyleFocused.BorderColor = clInfoBk
StyleFocused.BorderStyle = ebsUltraFlat
StyleFocused.LookAndFeel.Kind = lfFlat
StyleHot.LookAndFeel.Kind = lfFlat
TabOrder = 0
OnKeyPress = cxDBMaskEdit1KeyPress
Width = 121
end
object cxDBMaskEdit2: TcxDBMaskEdit
Left = 288
Top = 79
DataBinding.DataField = 'DevName'
DataBinding.DataSource = dsDevice
Style.LookAndFeel.Kind = lfFlat
StyleDisabled.LookAndFeel.Kind = lfFlat
StyleFocused.BorderColor = clInfoBk
StyleFocused.BorderStyle = ebsUltraFlat
StyleFocused.LookAndFeel.Kind = lfFlat
StyleHot.LookAndFeel.Kind = lfFlat
TabOrder = 1
OnKeyPress = cxDBMaskEdit2KeyPress
Width = 121
end
object cxDBMaskEdit3: TcxDBMaskEdit
Left = 288
Top = 111
DataBinding.DataField = 'IP'
DataBinding.DataSource = dsDevice
Properties.MaxLength = 0
Style.LookAndFeel.Kind = lfFlat
StyleDisabled.LookAndFeel.Kind = lfFlat
StyleFocused.BorderColor = clInfoBk
StyleFocused.BorderStyle = ebsUltraFlat
StyleFocused.LookAndFeel.Kind = lfFlat
StyleHot.LookAndFeel.Kind = lfFlat
TabOrder = 2
OnKeyPress = cxDBMaskEdit3KeyPress
Width = 121
end
object cxDBMaskEdit4: TcxDBMaskEdit
Left = 288
Top = 143
DataBinding.DataField = 'Port'
DataBinding.DataSource = dsDevice
Properties.MaskKind = emkRegExpr
Properties.MaxLength = 0
Style.LookAndFeel.Kind = lfFlat
StyleDisabled.LookAndFeel.Kind = lfFlat
StyleFocused.BorderColor = clInfoBk
StyleFocused.BorderStyle = ebsUltraFlat
StyleFocused.LookAndFeel.Kind = lfFlat
StyleHot.LookAndFeel.Kind = lfFlat
TabOrder = 3
OnKeyPress = cxDBMaskEdit1KeyPress
Width = 121
end
object cxDBMaskEdit5: TcxDBMaskEdit
Left = 288
Top = 175
DataBinding.DataField = 'SysPwd'
DataBinding.DataSource = dsDevice
Properties.MaskKind = emkRegExpr
Properties.MaxLength = 0
Style.LookAndFeel.Kind = lfFlat
StyleDisabled.LookAndFeel.Kind = lfFlat
StyleFocused.BorderColor = clInfoBk
StyleFocused.BorderStyle = ebsUltraFlat
StyleFocused.LookAndFeel.Kind = lfFlat
StyleHot.LookAndFeel.Kind = lfFlat
TabOrder = 4
OnKeyPress = cxDBMaskEdit1KeyPress
Width = 121
end
object Button1: TcxButton
Left = 16
Top = 9
Width = 75
Height = 25
Caption = #26032#22686
TabOrder = 5
OnClick = Button1Click
LookAndFeel.Kind = lfOffice11
end
object Button2: TcxButton
Left = 102
Top = 9
Width = 75
Height = 25
Caption = #20462#25913
TabOrder = 6
OnClick = Button2Click
LookAndFeel.Kind = lfOffice11
end
object Button3: TcxButton
Left = 188
Top = 9
Width = 75
Height = 25
Caption = #21024#38500
TabOrder = 7
OnClick = Button3Click
LookAndFeel.Kind = lfOffice11
end
object Button4: TcxButton
Left = 275
Top = 9
Width = 75
Height = 25
Caption = #21462#28040
TabOrder = 8
OnClick = Button4Click
LookAndFeel.Kind = lfOffice11
end
object Button5: TcxButton
Left = 361
Top = 9
Width = 75
Height = 25
Caption = #20445#23384
TabOrder = 9
OnClick = Button5Click
LookAndFeel.Kind = lfOffice11
end
object cxButton1: TcxButton
Left = 448
Top = 9
Width = 75
Height = 25
Caption = #21516#27493#26102#38388
TabOrder = 10
OnClick = cxButton1Click
LookAndFeel.Kind = lfOffice11
end
object QryDevice: TADOQuery
Connection = DM.con1
BeforePost = QryDeviceBeforePost
Parameters = <>
SQL.Strings = (
'select DeviceID,DevName,SysPwd,IP,Port from Device')
Left = 112
Top = 48
object QryDeviceDeviceID: TIntegerField
FieldName = 'DeviceID'
end
object QryDeviceDevName: TStringField
FieldName = 'DevName'
end
object QryDeviceSysPwd: TStringField
FieldName = 'SysPwd'
Size = 4
end
object QryDeviceIP: TStringField
FieldName = 'IP'
end
object QryDevicePort: TIntegerField
FieldName = 'Port'
end
end
object dsDevice: TDataSource
DataSet = QryDevice
OnStateChange = dsDeviceStateChange
Left = 96
Top = 88
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -