connectionpropertiesform.dfm

来自「著名的SecureBlackBox控件完整源码」· DFM 代码 · 共 168 行

DFM
168
字号
object frmConnectionProperties: TfrmConnectionProperties
  Left = 248
  Top = 170
  Width = 416
  Height = 323
  Caption = 'frmConnectionProperties'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poMainFormCenter
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object btnOK: TButton
    Left = 240
    Top = 264
    Width = 75
    Height = 25
    Anchors = [akRight, akBottom]
    Caption = 'OK'
    Default = True
    ModalResult = 1
    TabOrder = 0
  end
  object btnCancel: TButton
    Left = 328
    Top = 264
    Width = 75
    Height = 25
    Anchors = [akRight, akBottom]
    Cancel = True
    Caption = 'Cancel'
    ModalResult = 2
    TabOrder = 1
  end
  object gbConnProps: TGroupBox
    Left = 8
    Top = 8
    Width = 393
    Height = 249
    Caption = 'Connection properties'
    TabOrder = 2
    object lbHost: TLabel
      Left = 16
      Top = 24
      Width = 127
      Height = 13
      Caption = 'Host &Name ()or IP address)'
      FocusControl = edHost
    end
    object lbUsername: TLabel
      Left = 16
      Top = 77
      Width = 48
      Height = 13
      Caption = 'Username'
      FocusControl = edUsername
    end
    object lbPassword: TLabel
      Left = 200
      Top = 80
      Width = 46
      Height = 13
      Caption = 'Password'
      FocusControl = edPassword
    end
    object lbPort: TLabel
      Left = 200
      Top = 24
      Width = 19
      Height = 13
      Caption = '&Port'
      FocusControl = edPort
    end
    object lbProtocolVersion: TLabel
      Left = 16
      Top = 136
      Width = 149
      Height = 13
      Caption = 'Preferred SSH protocol version:'
    end
    object lbPrivateKey: TLabel
      Left = 16
      Top = 192
      Width = 239
      Height = 13
      Caption = 'Private key file for PUBLICKEY authentication type'
      FocusControl = edPrivateKey
    end
    object sbPrivateKey: TSpeedButton
      Left = 264
      Top = 208
      Width = 23
      Height = 22
      Caption = '...'
      OnClick = sbPrivateKeyClick
    end
    object edHost: TEdit
      Left = 16
      Top = 40
      Width = 153
      Height = 21
      TabOrder = 0
      Text = '192.168.0.1'
    end
    object edUsername: TEdit
      Left = 16
      Top = 96
      Width = 153
      Height = 21
      TabOrder = 2
      Text = 'user'
    end
    object edPassword: TEdit
      Left = 200
      Top = 96
      Width = 153
      Height = 21
      PasswordChar = '*'
      TabOrder = 3
    end
    object edPort: TEdit
      Left = 200
      Top = 40
      Width = 57
      Height = 21
      TabOrder = 1
      Text = '22'
      OnKeyPress = edPortKeyPress
    end
    object cbSSHv2: TCheckBox
      Left = 104
      Top = 160
      Width = 57
      Height = 17
      Caption = 'SSH v2'
      Checked = True
      State = cbChecked
      TabOrder = 5
    end
    object cbSSHv1: TCheckBox
      Left = 16
      Top = 160
      Width = 57
      Height = 17
      Caption = 'SSH v1'
      TabOrder = 4
    end
    object edPrivateKey: TEdit
      Left = 16
      Top = 208
      Width = 241
      Height = 21
      TabOrder = 6
    end
  end
  object OpenDialog: TOpenDialog
    InitialDir = '.'
    Title = 'Specify file with private key'
    Left = 240
    Top = 128
  end
end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?