nothdemoform.pas

来自「Delphi高级开发指南是开发程序的好帮手」· PAS 代码 · 共 41 行

PAS
41
字号
unit NothDemoForm;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  DdhNoth, ExtCtrls;

type
  TForm1 = class(TForm)
    DdhNothing1: TDdhNothing;
    DdhNothing2: TDdhNothing;
    DdhNothing3: TDdhNothing;
    Image1: TImage;
    procedure Nothing3Click(Sender: TObject);
    procedure Image1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.DFM}

procedure TForm1.Nothing3Click(Sender: TObject);
begin
  ShowMessage ('You''ve clicked on the mouse');
end;

procedure TForm1.Image1Click(Sender: TObject);
begin
  ShowMessage ('Wrong click');
end;

end.

⌨️ 快捷键说明

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