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.

65 lines
1.5 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __LG__REPORT__SETUP__DLG__H__INCLUDED__
  2. #define __LG__REPORT__SETUP__DLG__H__INCLUDED__
  3. #pragma once
  4. #include "LgReportSetupSettings.h"
  5. class CLgReportSetupDlg : public CDialog
  6. {
  7. // Construction
  8. public:
  9. CLgReportSetupDlg(CWnd* pParent = NULL); // standard constructor
  10. virtual ~CLgReportSetupDlg(){}
  11. public:
  12. BOOL DoModal( HWND hParentWnd, CLgReportSettings& settings );
  13. public:
  14. // Dialog Data
  15. //{{AFX_DATA(CLgReportSetupDlg)
  16. enum { IDD = IDD_REPORT_SETUP_DLG };
  17. CSpinButtonCtrl m_SpinAccessPort;
  18. CEdit m_EditAccessName;
  19. CButton m_CheckAccessEnable;
  20. CEdit m_EditAccessPort;
  21. CSpinButtonCtrl m_SpinSitePort;
  22. CEdit m_EditSitePort;
  23. CEdit m_EditSiteName;
  24. CEdit m_EditSiteAddress;
  25. CListCtrl m_ListSite;
  26. //}}AFX_DATA
  27. // Overrides
  28. // ClassWizard generated virtual function overrides
  29. //{{AFX_VIRTUAL(CLgReportSetupDlg)
  30. public:
  31. virtual BOOL DestroyWindow();
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. protected:
  37. // Generated message map functions
  38. //{{AFX_MSG(CLgReportSetupDlg)
  39. virtual BOOL OnInitDialog();
  40. afx_msg void OnButtonSiteAdd();
  41. afx_msg void OnButtonSiteDelete();
  42. afx_msg void OnItemchangedListSite(NMHDR* pNMHDR, LRESULT* pResult);
  43. afx_msg void OnChangeEditSite();
  44. virtual void OnOK();
  45. afx_msg void OnCheckAccess();
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. private:
  49. CLgReportSettings m_Settings;
  50. private:
  51. BOOL m_bChangedByList;
  52. BOOL m_bChangedByEdit;
  53. };
  54. #endif