SecurityPage.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. #if !defined(AFX_SECURITYPAGE_H__898CB245_9C3E_4693_8555_20DBC1664830__INCLUDED_)
  2. #define AFX_SECURITYPAGE_H__898CB245_9C3E_4693_8555_20DBC1664830__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. #include "DialogResize.h"
  7. #include "afxcmn.h"
  8. class CSecurityPage : public CDialogResize
  9. {
  10. // Construction
  11. public:
  12. void AddIPToBlockList(LPCTSTR lpszIP);
  13. CSecurityPage(CWnd* pParent = NULL); // standard constructor
  14. // Dialog Data
  15. //{{AFX_DATA(CSecurityPage)
  16. enum { IDD = IDD_PROPPAGE_SECURITY };
  17. CListBox m_BlockedList;
  18. CListBox m_NonBlockedList;
  19. BOOL m_bBlockAll;
  20. //}}AFX_DATA
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CSecurityPage)
  24. public:
  25. virtual BOOL PreTranslateMessage(MSG* pMsg);
  26. protected:
  27. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. protected:
  31. void UpdateSecurityData(int nType);
  32. // Generated message map functions
  33. //{{AFX_MSG(CSecurityPage)
  34. virtual BOOL OnInitDialog();
  35. afx_msg void OnDestroy();
  36. afx_msg void OnButton1();
  37. afx_msg void OnButton4();
  38. afx_msg void OnButton5();
  39. afx_msg void OnView();
  40. afx_msg void OnButton6();
  41. afx_msg void OnButton7();
  42. afx_msg void OnBnClickedView2();
  43. afx_msg void OnBnClickedCreatePhoto();
  44. afx_msg void OnBnClickedButton8();
  45. #if 0
  46. afx_msg void OnBnClickedIncrementalbak();
  47. afx_msg void OnBnClickedAutobak();
  48. afx_msg void OnBnClickedIncrementalandauto();
  49. afx_msg void OnBnClickedRestartBtn();
  50. #endif //#if 0
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. DECLARE_DLGRESIZE_MAP;
  54. public:
  55. afx_msg void OnBnClickedSysconfig();
  56. afx_msg void OnBnClickedTechsupport();
  57. afx_msg void OnBnClickedEnableclound();
  58. afx_msg void OnBnClickedExportbarcode();
  59. afx_msg void OnBnClickedCheckdb();
  60. afx_msg void OnEnChangeCheckdbtimeout();
  61. CProgressCtrl m_ctrl_process;
  62. };
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  65. #endif // !defined(AFX_SECURITYPAGE_H__898CB245_9C3E_4693_8555_20DBC1664830__INCLUDED_)