carchaxun.~pas

来自「这是用Delphi编写的车辆管理系统。主要功能有档案管理」· ~PAS 代码 · 共 51 行

~PAS
51
字号
unit carchaxun;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, Grids, DBGrids, StdCtrls;

type
  Tcarchaxun = class(TForm)
    DBGrid1: TDBGrid;
    GroupBox1: TGroupBox;
    RadioButton1: TRadioButton;
    ComboBox1: TComboBox;
    RadioButton2: TRadioButton;
    ComboBox2: TComboBox;
    RadioButton3: TRadioButton;
    ComboBox3: TComboBox;
    Label1: TLabel;
    RadioButton4: TRadioButton;
    RadioButton5: TRadioButton;
    RadioButton6: TRadioButton;
    RadioButton7: TRadioButton;
    procedure FormShow(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  carchaxun: Tcarchaxun;

implementation
uses unit2;

{$R *.dfm}

procedure Tcarchaxun.FormShow(Sender: TObject);
begin
with datamodule2.CardanganQ do
begin
       close;
       sql.clear;
       sql.Add(select * from cardangan.dbf)
       sql.Open;
end;
end;

end.

⌨️ 快捷键说明

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