Реферат: Разработка программы психотестирования
runtest
end;
procedure TfrmMain.SpeedButton3Click(Sender: TObject);
begin
testfilename:='health.tst';
runtest
end;
procedure TfrmMain.FormClose(Sender: TObject; var Action: TCloseAction);
begin
if messagedlg('Вы действительно хотите выйти?',mtwarning,[mbyes,mbno],0)=mrno then action:=canone
end;
end.
unit Testfrm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, Buttons, testtypes;
type
TfrmTest = class(TForm)
Image1: TImage;
rb1: TRadioButton;
rb2: TRadioButton;
rb3: TRadioButton;
Label1: TLabel;
SpeedButton1: TSpeedButton;
procedure load;
procedure rb1Click(Sender: TObject);
procedure rb2Click(Sender: TObject);
procedure rb3Click(Sender: TObject);