DlgDownloadSetup.h
资源名称:GGBT.rar [点击查看]
上传用户:lds876
上传日期:2013-05-25
资源大小:567k
文件大小:2k
源码类别:
P2P编程
开发平台:
Visual C++
- #if !defined(AFX_DLGDOWNLOADSETUP_H__CAD988C3_A7FA_4DBD_AA3F_5EF1C509297D__INCLUDED_)
- #define AFX_DLGDOWNLOADSETUP_H__CAD988C3_A7FA_4DBD_AA3F_5EF1C509297D__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // DlgDownloadSetup.h : header file
- //
- #include "SetupRegister.h"
- #include "GroupBoxEx.h"
- /////////////////////////////////////////////////////////////////////////////
- // CDlgDownloadSetup dialog
- class CDlgDownloadSetup : public CPropertyPage
- {
- // Construction
- public:
- CDlgDownloadSetup(CWnd* pParent = NULL); // standard constructor
- void SetData(CSetupRegister *pSetupRegister);
- void GetData(CSetupRegister *pSetupRegister);
- bool Apply();
- // Dialog Data
- //{{AFX_DATA(CDlgDownloadSetup)
- enum { IDD = IDD_DIALOG_PAGE_DOWNLOAD_SETUP };
- CStatic m_stUpSpeedInfo;
- CGroupBoxEx m_gpUpSpeed;
- CGroupBoxEx m_gpConSetup;
- CSpinButtonCtrl m_spinCompleteKeepSeedHour;
- CSpinButtonCtrl m_spinDownloadAllCount;
- CSpinButtonCtrl m_spinConnectIntval;
- CSpinButtonCtrl m_spinConnectErrMax;
- CComboBox m_cbDownSpeed;
- CSpinButtonCtrl m_spinPortMax;
- CSpinButtonCtrl m_spinPortMin;
- //}}AFX_DATA
- // BOOL m_bCompleteKeepSeed;
- long m_lConnectErrorMax;
- long m_lConnectIntval;
- long m_lDownloadAllCount;
- long m_lCompleteKeepSeedHour; // Hour.
- long m_lPortMin;
- long m_lPortMax;
- long m_lDownSpeed;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDlgDownloadSetup)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CDlgDownloadSetup)
- virtual BOOL OnInitDialog();
- virtual void OnOK();
- virtual void OnCancel();
- afx_msg void OnCheckKeepSeed();
- afx_msg void OnSelchangeComboDownSpeed();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DLGDOWNLOADSETUP_H__CAD988C3_A7FA_4DBD_AA3F_5EF1C509297D__INCLUDED_)