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

  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4.  
  5. #include "Main.h"
  6. #include "About.h"
  7. #include "Second.h"
  8. //---------------------------------------------------------------------------
  9. #pragma resource "*.dfm"
  10. TMainForm *MainForm;
  11. //---------------------------------------------------------------------------
  12. __fastcall TMainForm::TMainForm(TComponent* Owner)
  13.   : TForm(Owner)
  14. {
  15. }
  16. //--------------------------------------------------------------------------- 
  17. void __fastcall TMainForm::ShowForm2Click(TObject *Sender)
  18. {
  19.     SecondForm->ShowModal();
  20. }
  21. //---------------------------------------------------------------------
  22. void __fastcall TMainForm::AboutButtonClick(TObject *Sender)
  23. {
  24.     AboutBox->ShowModal();
  25. }
  26. //---------------------------------------------------------------------
  27.