ConfigNetwork.h
上传用户:maryhy001
上传日期:2007-05-02
资源大小:2317k
文件大小:1k
- // ConfigNetwork.h : header file
- #ifndef _CONFIG_NETWORK_H
- #define _CONFIG_NETWORK_H
- class CConfigNetwork : public CPropertyPage
- {
- DECLARE_DYNCREATE(CConfigNetwork)
- // Construction
- public:
- CConfigNetwork();
- ~CConfigNetwork();
- BOOL Refresh();
- // Dialog Data
- //{{AFX_DATA(CConfigNetwork)
- enum { IDD = IDD_NETWORK_CONFIG };
- CIPAddressCtrl m_oSvrIpAddr;
- BOOL m_bAutoRecvSvrsFles;
- BOOL m_bAutoUpdate;
- int m_nDirSvrPort;
- int m_nRelayPort;
- int m_nTransPort;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CConfigNetwork)
- public:
- virtual BOOL OnSetActive();
- virtual void OnOK();
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CConfigNetwork)
- virtual BOOL OnInitDialog();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #endif //_CONFIG_NETWORK_H