service.~pas

来自「这是《Delphi程序设计基础》由李文池写的书的示例代码」· ~PAS 代码 · 共 56 行

~PAS
56
字号
unit service;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ExtCtrls, StdCtrls, jpeg, DB, DBClient, MConnect;

type
  TfrmService = class(TForm)
    Image5: TImage;
    Label2: TLabel;
    Label3: TLabel;
    Label6: TLabel;
    Label8: TLabel;
    DCOMConnection1: TDCOMConnection;
    procedure Label8Click(Sender: TObject);
    procedure Label3Click(Sender: TObject);
    procedure Label6Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmService: TfrmService;
  strLibCard_id:string;      //存放借书证号
  strPassword:string;  //用户密码
  strName:string;      //借书者姓名

implementation

uses login, frmChPass, findbookinf;

{$R *.dfm}

procedure TfrmService.Label8Click(Sender: TObject);
begin
  Close;
end;

procedure TfrmService.Label3Click(Sender: TObject);
begin
  frmFindBook.Visible:=true;
  self.Visible:=false;
end;

procedure TfrmService.Label6Click(Sender: TObject);
begin
  frmPass.Visible:=true;
  self.Visible:=false;
end;

end.

⌨️ 快捷键说明

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