1 { KOL MCK } // Do not remove this line!
8 uses Windows
, Messages
, ShellAPI
, KOL
{$IFNDEF KOL_MCK}, mirror
, Classes
,
9 mckCtrls
, Controls
, Graphics
{$ENDIF};
12 Windows
, Messages
, SysUtils
, Classes
, Graphics
, Controls
, Forms
, Dialogs
,
18 {$I MCKfakeClasses.inc}
19 {$IFDEF KOLCLASSES} TForm5
= class; PForm5
= TForm5
; {$ELSE OBJECTS} PForm5
= ^TForm5
; {$ENDIF CLASSES/OBJECTS}
20 {$IFDEF KOLCLASSES}{$I TForm5.inc}{$ELSE} TForm5
= object(TObj
) {$ENDIF}
32 procedure B1Click(Sender
: PObj
);
33 procedure B2Click(Sender
: PObj
);
35 { Private declarations }
37 { Public declarations }
41 Form5
{$IFDEF KOL_MCK} : PForm5
{$ELSE} : TForm5
{$ENDIF} ;
44 procedure NewForm5( var Result
: PForm5
; AParent
: PControl
);
49 {$IFNDEF KOL_MCK} {$R *.DFM} {$ENDIF}
55 procedure TForm5
.B1Click(Sender
: PObj
);
57 Form
.ModalResult
:= 1;
61 procedure TForm5
.B2Click(Sender
: PObj
);
63 Form
.ModalResult
:= 1;