unit2.dfm

来自「《C++Builder数据库程序设计》配书光盘 1.光盘内容 Read」· DFM 代码 · 共 69 行

DFM
69
字号
object Form1: TForm1
  Left = 192
  Top = 107
  Width = 343
  Height = 192
  Caption = 'server2.bpr'
  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 = 40
    Width = 320
    Height = 120
    DataSource = DataSource1
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
  end
  object ADOConnection1: TADOConnection
    Connected = True
    ConnectionString = 
      'Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initi' +
      'al Catalog=Northwind;Data Source=TWBTS;Use Procedure for Prepare' +
      '=1;Auto Translate=True;Packet Size=4096;Workstation ID=TWBTS'
    LoginPrompt = False
    Provider = 'SQLOLEDB.1'
    Left = 16
    Top = 8
  end
  object ADOStoredProc1: TADOStoredProc
    Active = True
    Connection = ADOConnection1
    CursorType = ctStatic
    ProcedureName = 'CustOrderHist;1'
    Parameters = <
      item
        Name = 'RETURN_VALUE'
        DataType = ftInteger
        Direction = pdReturnValue
        Precision = 10
        Value = 0
      end
      item
        Name = '@CustomerID'
        Attributes = [paNullable]
        DataType = ftWideString
        Size = 5
        Value = 'VINET'
      end>
    Left = 56
    Top = 8
  end
  object DataSource1: TDataSource
    DataSet = ADOStoredProc1
    Left = 96
    Top = 8
  end
end

⌨️ 快捷键说明

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