⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit1.~dfm

📁 connection to MySql from Delphi
💻 ~DFM
字号:
object Form1: TForm1
  Left = 228
  Top = 205
  BorderStyle = bsDialog
  Caption = 'Form1'
  ClientHeight = 400
  ClientWidth = 421
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  OnCreate = FormCreate
  DesignSize = (
    421
    400)
  PixelsPerInch = 96
  TextHeight = 13
  object lInfo: TLabel
    Left = 8
    Top = 116
    Width = 283
    Height = 29
    AutoSize = False
    ShowAccelChar = False
    WordWrap = True
  end
  object lvGroups: TListView
    Left = 8
    Top = 151
    Width = 141
    Height = 240
    Anchors = [akLeft, akTop, akBottom]
    Columns = <
      item
        Caption = #1043#1088#1091#1087#1087#1099
      end>
    PopupMenu = pmGroups
    TabOrder = 2
    ViewStyle = vsReport
    OnDblClick = lvGroupsDblClick
    OnDeletion = ListItemDeletion
  end
  object lvBook: TListView
    Left = 155
    Top = 151
    Width = 258
    Height = 240
    Anchors = [akLeft, akTop, akRight, akBottom]
    Columns = <
      item
        Caption = #1060#1072#1084#1080#1083#1080#1103
      end
      item
        Caption = #1048#1084#1103
      end
      item
        Caption = #1044#1077#1085#1100' '#1088#1086#1078#1076#1077#1085#1080#1103
      end
      item
        Caption = #1058#1077#1083#1077#1092#1086#1085
      end
      item
        Caption = #1040#1076#1088#1077#1089
      end>
    TabOrder = 3
    ViewStyle = vsReport
    OnDeletion = ListItemDeletion
  end
  object GroupBox1: TGroupBox
    Left = 8
    Top = 5
    Width = 237
    Height = 105
    Caption = 'MySQL'
    TabOrder = 0
    object lHost: TLabel
      Left = 8
      Top = 23
      Width = 22
      Height = 13
      Caption = 'Host'
    end
    object lPort: TLabel
      Left = 8
      Top = 50
      Width = 20
      Height = 13
      Caption = 'Port'
    end
    object lUser: TLabel
      Left = 119
      Top = 23
      Width = 22
      Height = 13
      Caption = 'User'
    end
    object lPassword: TLabel
      Left = 95
      Top = 50
      Width = 46
      Height = 13
      Caption = 'Password'
    end
    object eHost: TEdit
      Left = 36
      Top = 20
      Width = 77
      Height = 21
      TabOrder = 0
      Text = '10.2.1.101'
    end
    object ePort: TEdit
      Left = 36
      Top = 47
      Width = 42
      Height = 21
      TabOrder = 1
      Text = '3306'
    end
    object eUser: TEdit
      Left = 147
      Top = 20
      Width = 80
      Height = 21
      TabOrder = 2
      Text = 'test'
    end
    object ePassword: TEdit
      Left = 147
      Top = 47
      Width = 80
      Height = 21
      TabOrder = 3
      Text = 'test'
    end
    object btnMySQLConnect: TButton
      Left = 56
      Top = 74
      Width = 85
      Height = 25
      Caption = 'Connect'
      TabOrder = 4
      OnClick = btnMySQLConnectClick
    end
    object btnMySQLDisconnect: TButton
      Left = 152
      Top = 74
      Width = 75
      Height = 25
      Caption = 'Disconnect'
      Enabled = False
      TabOrder = 5
      OnClick = btnMySQLDisconnectClick
    end
  end
  object GroupBox2: TGroupBox
    Left = 295
    Top = 5
    Width = 118
    Height = 142
    Caption = #1041#1072#1079#1072' '#1076#1072#1085#1085#1099#1093
    TabOrder = 1
    object Bevel1: TBevel
      Left = 2
      Top = 104
      Width = 112
      Height = 2
      Shape = bsTopLine
    end
    object btnCreateDB: TButton
      Left = 9
      Top = 47
      Width = 100
      Height = 25
      Caption = #1057#1086#1079#1076#1072#1090#1100
      Enabled = False
      ParentShowHint = False
      ShowHint = True
      TabOrder = 1
      OnClick = btnCreateDBClick
    end
    object btnDropDB: TButton
      Left = 9
      Top = 74
      Width = 100
      Height = 25
      Hint = #1059#1076#1072#1083#1103#1077#1090' '#1073#1072#1079#1091' '#1076#1072#1085#1085#1099#1093', '#1077#1089#1083#1080' '#1086#1085#1072' '#1089#1091#1097#1077#1089#1090#1074#1091#1077#1090'.'
      Caption = #1059#1076#1072#1083#1080#1090#1100
      Enabled = False
      ParentShowHint = False
      ShowHint = True
      TabOrder = 2
      OnClick = btnDropDBClick
    end
    object eDB: TEdit
      Left = 9
      Top = 20
      Width = 100
      Height = 21
      TabOrder = 0
      Text = 'radius'
    end
    object btnSelectDB: TButton
      Left = 9
      Top = 109
      Width = 100
      Height = 25
      Caption = #1054#1090#1082#1088#1099#1090#1100
      Enabled = False
      ParentShowHint = False
      ShowHint = True
      TabOrder = 3
      OnClick = btnSelectDBClick
    end
  end
  object pmGroups: TPopupMenu
    Left = 84
    Top = 216
    object miLoadGroup: TMenuItem
      Caption = #1054#1090#1082#1088#1099#1090#1100
      ShortCut = 13
      OnClick = lvGroupsDblClick
    end
    object N2: TMenuItem
      Caption = '-'
    end
    object miAddGroup: TMenuItem
      Caption = #1044#1086#1073#1072#1074#1080#1090#1100
      ShortCut = 45
      OnClick = miAddGroupClick
    end
    object miEditGroup: TMenuItem
      Caption = #1056#1077#1076#1072#1082#1090#1080#1088#1086#1074#1072#1090#1100
      ShortCut = 113
      OnClick = miEditGroupClick
    end
    object miDelGroup: TMenuItem
      Caption = #1059#1076#1072#1083#1080#1090#1100
      ShortCut = 16430
      OnClick = miDelGroupClick
    end
  end
end

⌨️ 快捷键说明

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