home *** CD-ROM | disk | FTP | other *** search
- unit TestMain;
-
- {*********************************************************************
- Please NOTE: *********
-
- In order for this sample to run, please ensure that the path in which
- agnieyespy.dcu resides is included in your library path, or in the
- search path of this project.
-
- When you run this project click on the Create Eye Spy menu, to bring up
- Agni's Eye Spy. You can click on Free Eye Spy to hide Agni's Eye Spy.
-
- *********************************************************************}
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
- ExtCtrls, StdCtrls, Menus, AgniEyeSpy;
-
- type
- TForm1 = class(TForm)
- Label1: TLabel;
- Edit1: TEdit;
- Memo1: TMemo;
- Button1: TButton;
- RadioButton1: TRadioButton;
- Shape1: TShape;
- Bevel1: TBevel;
- Image1: TImage;
- Timer1: TTimer;
- PopupMenu1: TPopupMenu;
- MainMenu1: TMainMenu;
- CreateEyeSpy1: TMenuItem;
- FreeEyeSpy1: TMenuItem;
- procedure CreateEyeSpy1Click(Sender: TObject);
- procedure FreeEyeSpy1Click(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- Form1: TForm1;
-
- implementation
-
- {$R *.DFM}
-
- procedure TForm1.CreateEyeSpy1Click(Sender: TObject);
- begin
- CreateEyeSpy;
- end;
-
- procedure TForm1.FreeEyeSpy1Click(Sender: TObject);
- begin
- FreeEyeSpy;
- end;
-
- end.
-