📄 mainform.dfm
字号:
object frmMain: TfrmMain
Left = 192
Top = 107
BorderStyle = bsDialog
Caption = 'ElSecureServerSocket demo application'
ClientHeight = 483
ClientWidth = 442
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object gbConnProps: TGroupBox
Left = 0
Top = 0
Width = 442
Height = 177
Align = alTop
Caption = 'Server properties'
TabOrder = 0
object lPort: TLabel
Left = 192
Top = 64
Width = 24
Height = 13
Caption = 'Port:'
end
object lCertificate: TLabel
Left = 16
Top = 16
Width = 71
Height = 13
Caption = 'Certificate file:'
end
object lCertPass: TLabel
Left = 16
Top = 64
Width = 103
Height = 13
Caption = 'Certificate password:'
end
object editPort: TEdit
Left = 192
Top = 80
Width = 65
Height = 21
TabOrder = 0
Text = '4433'
end
object editCert: TEdit
Left = 16
Top = 32
Width = 329
Height = 21
TabOrder = 1
end
object btnBrowse: TButton
Left = 352
Top = 32
Width = 75
Height = 25
Caption = 'Browse...'
TabOrder = 2
OnClick = btnBrowseClick
end
object editCertPassword: TEdit
Left = 16
Top = 80
Width = 153
Height = 21
PasswordChar = '*'
TabOrder = 3
end
object cbSSL2: TCheckBox
Left = 16
Top = 112
Width = 65
Height = 17
Caption = 'SSLv2'
Checked = True
State = cbChecked
TabOrder = 4
end
object cbSSL3: TCheckBox
Left = 88
Top = 112
Width = 65
Height = 17
Caption = 'SSLv3'
Checked = True
State = cbChecked
TabOrder = 5
end
object cbTLS1: TCheckBox
Left = 160
Top = 112
Width = 65
Height = 17
Caption = 'TLSv1'
Checked = True
State = cbChecked
TabOrder = 6
end
object cbTLS11: TCheckBox
Left = 240
Top = 112
Width = 73
Height = 17
Caption = 'TLSv1.1'
TabOrder = 7
end
object btnActivate: TButton
Left = 16
Top = 136
Width = 75
Height = 25
Caption = 'Activate'
TabOrder = 9
OnClick = btnActivateClick
end
object cbCompression: TCheckBox
Left = 328
Top = 112
Width = 89
Height = 17
Caption = 'Compression'
TabOrder = 8
end
end
object gbLog: TGroupBox
Left = 0
Top = 373
Width = 442
Height = 110
Align = alBottom
Caption = 'Log window'
TabOrder = 1
object lvLog: TListView
Left = 10
Top = 16
Width = 423
Height = 81
Columns = <
item
Caption = 'Time'
Width = 90
end
item
Caption = 'Event'
Width = 250
end>
ReadOnly = True
RowSelect = True
TabOrder = 0
ViewStyle = vsReport
end
end
object gbConnections: TGroupBox
Left = 0
Top = 177
Width = 442
Height = 196
Align = alClient
Caption = 'Active connections'
TabOrder = 2
object lvConnections: TListView
Left = 10
Top = 23
Width = 423
Height = 130
Columns = <
item
Caption = 'Remote IP'
Width = 120
end
item
Caption = 'Time'
Width = 90
end
item
Caption = 'Version'
end>
ReadOnly = True
RowSelect = True
TabOrder = 0
ViewStyle = vsReport
end
object btnTerminate: TButton
Left = 360
Top = 160
Width = 75
Height = 25
Caption = 'Terminate'
TabOrder = 1
OnClick = btnTerminateClick
end
end
object ServerSocket: TElSecureServerSocket
Active = False
Port = 4433
ServerType = stNonBlocking
OnAccept = ServerSocketAccept
OnClientConnect = ServerSocketClientConnect
OnClientDisconnect = ServerSocketClientDisconnect
OnClientRead = ServerSocketClientRead
Versions = [sbSSL2, sbSSL3, sbTLS1]
CertStorage = CertStorage
SessionPool = ElSessionPool
ClientAuthentication = False
PassThrough = False
OnCiphersNegotiated = ServerSocketCiphersNegotiated
OnSecureClientConnect = ServerSocketSecureClientConnect
OnError = ServerSocketError
Left = 376
Top = 16
end
object ElSessionPool: TElSessionPool
Left = 344
Top = 16
end
object CertStorage: TElMemoryCertStorage
Options = [csoStrictChainBuilding]
Left = 312
Top = 16
end
object Cert: TElX509Certificate
Left = 280
Top = 16
end
object OpenDialog: TOpenDialog
Filter = 'PKCS#12 certificate (*.pfx)|*.pfx|All files (*.*)|*.*'
InitialDir = '.'
Left = 248
Top = 16
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -