home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / SIMBOR.PAK / SIMBOR.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  761 b   |  41 lines

  1. // ---------------------------------------------------------------------------
  2. // ObjectWindows
  3. // Copyright (C) 1995, 1995 by Borland International, All Rights Reserved
  4. // ---------------------------------------------------------------------------
  5. #include <owl/pch.h>
  6. #include "SimBor.h"
  7.  
  8. //
  9. // SimBorWindow constructor
  10. //
  11. TSimBorWindow::TSimBorWindow()
  12. :
  13.   TWindow(0, 0, 0)
  14. {
  15. }
  16.  
  17. //
  18. // SimBorWindow destructor
  19. //
  20. TSimBorWindow::~TSimBorWindow()
  21. {
  22. }
  23.  
  24. //
  25. // Response table for SimBorWindow
  26. //
  27. DEFINE_RESPONSE_TABLE1(TSimBorWindow, TWindow)
  28.   EV_COMMAND(CM_DIALOG, CmDialog),
  29. END_RESPONSE_TABLE;
  30.  
  31.  
  32. //
  33. // CmDialog
  34. //
  35. void
  36. TSimBorWindow::CmDialog()
  37. {
  38.   TSimBorDialog simBorDlg(this, IDD_SIMBORDLG);
  39.   simBorDlg.Execute();
  40. }
  41.