home *** CD-ROM | disk | FTP | other *** search
/ Cracking 2 / Cracking II..iso / Texty / crackme / Unit1t.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  1998-03-24  |  700 b   |  36 lines

  1. unit Unit1;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   StdCtrls, Buttons;
  8.  
  9. type
  10.   TForm1 = class(TForm)
  11.     Memo1: TMemo;
  12.     Edit1: TEdit;
  13.     Edit2: TEdit;
  14.     BitBtn1: TBitBtn;
  15.     procedure BitBtn1Click(Sender: TObject);
  16.   private
  17.     { Private-Deklarationen }
  18.   public
  19.     { Public-Deklarationen }
  20.   end;
  21.  
  22. var
  23.   Form1: TForm1;
  24.  
  25. implementation
  26.  
  27. {$R *.DFM}
  28.  
  29. procedure TForm1.BitBtn1Click(Sender: TObject);
  30. begin
  31.   if Edit1.Text+Edit2.Text='Wrong code' then Application.MessageBox('Sometimes, the wrong code can be the good code',';-)',MB_OK)
  32.   else Application.MessageBox('Wrong code',':(',MB_OK);
  33. end;
  34.  
  35. end.
  36.