Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
2.3 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: SetupCLD.cpp
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Source file of SetupCLD.cpp
  13. //----------------------------------------------------------------------------
  14. // SetupCLD.cpp : Defines the class behaviors for the application.
  15. //
  16. #include "stdafx.h"
  17. #include "SetupCLD.h"
  18. #include "SetupCLDDlg.h"
  19. #ifdef _DEBUG
  20. #define new DEBUG_NEW
  21. #undef THIS_FILE
  22. static char THIS_FILE[] = __FILE__;
  23. #endif
  24. /////////////////////////////////////////////////////////////////////////////
  25. // CSetupCLDApp
  26. BEGIN_MESSAGE_MAP(CSetupCLDApp, CWinApp)
  27. //{{AFX_MSG_MAP(CSetupCLDApp)
  28. // NOTE - the ClassWizard will add and remove mapping macros here.
  29. // DO NOT EDIT what you see in these blocks of generated code!
  30. //}}AFX_MSG
  31. ON_COMMAND(ID_HELP, CWinApp::OnHelp)
  32. END_MESSAGE_MAP()
  33. /////////////////////////////////////////////////////////////////////////////
  34. // CSetupCLDApp construction
  35. CSetupCLDApp::CSetupCLDApp()
  36. {
  37. // TODO: add construction code here,
  38. // Place all significant initialization in InitInstance
  39. }
  40. /////////////////////////////////////////////////////////////////////////////
  41. // The one and only CSetupCLDApp object
  42. CSetupCLDApp theApp;
  43. /////////////////////////////////////////////////////////////////////////////
  44. // CSetupCLDApp initialization
  45. BOOL CSetupCLDApp::InitInstance()
  46. {
  47. AfxEnableControlContainer();
  48. // Standard initialization
  49. // If you are not using these features and wish to reduce the size
  50. // of your final executable, you should remove from the following
  51. // the specific initialization routines you do not need.
  52. CSetupCLDDlg dlg;
  53. m_pMainWnd = &dlg;
  54. int nResponse = dlg.DoModal();
  55. if (nResponse == IDOK)
  56. {
  57. // TODO: Place code here to handle when the dialog is
  58. // dismissed with OK
  59. }
  60. else if (nResponse == IDCANCEL)
  61. {
  62. // TODO: Place code here to handle when the dialog is
  63. // dismissed with Cancel
  64. }
  65. // Since the dialog has been closed, return FALSE so that we exit the
  66. // application, rather than start the application's message pump.
  67. return FALSE;
  68. }