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.

80 lines
2.2 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: 13/04/2001
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: PropDCLinkDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of PropDCLinkDlg.h
  13. //----------------------------------------------------------------------------
  14. #if !defined(AFX_PROPDCLINKDLG_H__B43521D9_E17F_4377_A40B_50EA0D98DE11__INCLUDED_)
  15. #define AFX_PROPDCLINKDLG_H__B43521D9_E17F_4377_A40B_50EA0D98DE11__INCLUDED_
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19. // PropDCLinkDlg.h : header file
  20. //
  21. #include "ImageWnd.h" // Added by ClassView
  22. #include "..\DLIB\ObjectFactory.h" // Added by ClassView
  23. class CPropDCLinkDlg : public CDialog
  24. {
  25. // Construction
  26. public:
  27. int DoModal( COFDevice *pSensor, COFDevice *pDryContact );
  28. CPropDCLinkDlg(CWnd* pParent = NULL); // standard constructor
  29. // Dialog Data
  30. //{{AFX_DATA(CPropDCLinkDlg)
  31. enum { IDD = IDD_DC_LINK_DLG };
  32. CListBox m_ListTemplate;
  33. CListBox m_ListLink;
  34. CListBox m_ListDevice;
  35. CButton m_ButtonDelAll;
  36. CButton m_ButtonDel;
  37. CButton m_ButtonAddAll;
  38. CButton m_ButtonAdd;
  39. //}}AFX_DATA
  40. // Overrides
  41. // ClassWizard generated virtual function overrides
  42. //{{AFX_VIRTUAL(CPropDCLinkDlg)
  43. public:
  44. virtual BOOL DestroyWindow();
  45. protected:
  46. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  47. //}}AFX_VIRTUAL
  48. // Implementation
  49. protected:
  50. // Generated message map functions
  51. //{{AFX_MSG(CPropDCLinkDlg)
  52. afx_msg void OnButtonAdd();
  53. afx_msg void OnButtonAddall();
  54. afx_msg void OnButtonDel();
  55. afx_msg void OnButtonDelall();
  56. afx_msg void OnSelchangeList();
  57. virtual BOOL OnInitDialog();
  58. virtual void OnOK();
  59. //}}AFX_MSG
  60. DECLARE_MESSAGE_MAP()
  61. private:
  62. COFDeviceDryContacts *m_pDryContact;
  63. COFDevice *m_pDevice;
  64. CImageWnd m_ImageWnd;
  65. private:
  66. void FillControls();
  67. };
  68. //{{AFX_INSERT_LOCATION}}
  69. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  70. #endif // !defined(AFX_PROPDCLINKDLG_H__B43521D9_E17F_4377_A40B_50EA0D98DE11__INCLUDED_)