unt_viewcustome.pas

来自「酒店资源管理的软件」· PAS 代码 · 共 44 行

PAS
44
字号
unit unt_ViewCustome;

interface

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

type
  TViewCustomeForm = class(TForm)
    ADOTable1: TADOTable;
    DataSource1: TDataSource;
    DBGrid1: TDBGrid;
    BitBtn2: TBitBtn;
    procedure BitBtn2Click(Sender: TObject);
    
    procedure FormShow(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  ViewCustomeForm: TViewCustomeForm;

implementation
uses Main, unt_CheckUser, unt_ViewCustomeRep;
{$R *.dfm}

procedure TViewCustomeForm.BitBtn2Click(Sender: TObject);
begin
 ViewCustomeForm.Close;
end;

 

procedure TViewCustomeForm.FormShow(Sender: TObject);
begin
  ADOTable1.Active := True;
end;

end.

⌨️ 快捷键说明

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