home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Info / TeachU14 / SAMS / Code / Day05 / pmemain.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-08  |  730 b   |  22 lines

  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4.  
  5. #include "PMEMain.h"
  6. //---------------------------------------------------------------------------
  7. #pragma package(smart_init)
  8. #pragma resource "*.dfm"
  9. TPMEForm *PMEForm;
  10. //---------------------------------------------------------------------------
  11. __fastcall TPMEForm::TPMEForm(TComponent* Owner)
  12.         : TForm(Owner)
  13. {
  14. }
  15. //---------------------------------------------------------------------------
  16. void __fastcall TPMEForm::ButtonClick(TObject *Sender)
  17. {
  18.   if (Sender == Hide) Memo->Hide();
  19.   else Memo->Show();
  20. }
  21. //---------------------------------------------------------------------------
  22.