pshop1.pas

来自「蛮好的系统大家一起使用看看!~呵呵!关于图书仓库管理系统的!」· PAS 代码 · 共 61 行

PAS
61
字号
unit pshop1;

interface

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

type
  TForm22 = class(TForm)
    Panel1: TPanel;
    SpeedButton3: TSpeedButton;
    SpeedButton2: TSpeedButton;
    SpeedButton1: TSpeedButton;
    GroupBox1: TGroupBox;
    DBGrid1: TDBGrid;
    procedure SpeedButton1Click(Sender: TObject);
    procedure SpeedButton2Click(Sender: TObject);
    procedure SpeedButton3Click(Sender: TObject);
    procedure FormActivate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form22: TForm22;

implementation

uses pshop2, data;

{$R *.dfm}

procedure TForm22.SpeedButton1Click(Sender: TObject);
begin
form23.quickrep1.preview;
end;

procedure TForm22.SpeedButton2Click(Sender: TObject);
begin
form23.quickrep1.print;
end;

procedure TForm22.SpeedButton3Click(Sender: TObject);
begin
close;
end;

procedure TForm22.FormActivate(Sender: TObject);
begin
with dm.shopTable do
begin
filtered:=false;
DBGrid1.DataSource:=dm.shopSource1;
end;
end;

end.

⌨️ 快捷键说明

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