unit1.dfm

来自「com+组件,用于分布式构架的组件服务实例」· DFM 代码 · 共 115 行

DFM
115
字号
object Form1: TForm1
  Left = 288
  Top = 131
  Width = 568
  Height = 317
  Caption = 'Form1'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 13
  object DBGrid1: TDBGrid
    Left = 8
    Top = 8
    Width = 361
    Height = 273
    DataSource = DataSource1
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
    Columns = <
      item
        Expanded = False
        FieldName = 'name_c_s'
        Width = 60
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'age_c_s'
        Width = 60
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'labor_cry'
        Width = 60
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'position_c_s'
        Width = 60
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Department_c_s'
        Width = 60
        Visible = True
      end>
  end
  object Edit1: TEdit
    Left = 376
    Top = 16
    Width = 113
    Height = 21
    TabOrder = 1
    Text = '127.0.0.1'
  end
  object Button1: TButton
    Left = 376
    Top = 40
    Width = 113
    Height = 25
    Caption = #24320#22987#36830#25509
    TabOrder = 2
    OnClick = Button1Click
  end
  object Edit2: TEdit
    Left = 376
    Top = 72
    Width = 177
    Height = 21
    TabOrder = 3
    Text = 'select * from personal_biao'
  end
  object Button2: TButton
    Left = 376
    Top = 96
    Width = 81
    Height = 25
    Caption = #26597#35810
    TabOrder = 4
    OnClick = Button2Click
  end
  object DataSource1: TDataSource
    DataSet = ClientDataSet1
    Left = 320
    Top = 80
  end
  object ClientDataSet1: TClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'DSP'
    RemoteServer = SocketConnection1
    Left = 320
    Top = 144
  end
  object SocketConnection1: TSocketConnection
    ServerGUID = '{42C955ED-1D78-4C10-BA7B-6DC20B98815F}'
    ServerName = 'S_COM.S_COM_DLL'
    Host = '127.0.0.1'
    Left = 320
    Top = 112
  end
end

⌨️ 快捷键说明

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