Browse Subversion Repository
Annotation of /WinCS/MasterSettingDlg.h
Parent Directory
| Revision Log
Revision 11 -
( hide annotations)
( download)
( as text)
Wed Feb 10 18:21:00 2010 UTC
(14 years, 2 months ago)
by sho1get
File MIME type: text/x-chdr
File size: 1242 byte(s)
| 1 |
sho1get |
11 |
#pragma once |
| 2 |
|
|
#include "afxwin.h" |
| 3 |
|
|
#include "afxcmn.h" |
| 4 |
|
|
|
| 5 |
|
|
////////////////////////////////////////////////////////////////////////// |
| 6 |
|
|
|
| 7 |
|
|
class CMasterSettingDlg : public CDialog |
| 8 |
|
|
{ |
| 9 |
|
|
DECLARE_DYNAMIC(CMasterSettingDlg) |
| 10 |
|
|
|
| 11 |
|
|
public: |
| 12 |
|
|
CMasterSettingDlg(CWnd* pParent = NULL); |
| 13 |
|
|
virtual ~CMasterSettingDlg(); |
| 14 |
|
|
enum { IDD = IDD_MASTER_SETTING_DIALOG }; |
| 15 |
|
|
|
| 16 |
|
|
void SetSetting(MASTER_SETTING Setting) { m_MasterSetting = Setting; } |
| 17 |
|
|
void GetSetting(MASTER_SETTING &Setting) { Setting = m_MasterSetting; } |
| 18 |
|
|
|
| 19 |
|
|
protected: |
| 20 |
|
|
DECLARE_MESSAGE_MAP() |
| 21 |
|
|
virtual void DoDataExchange(CDataExchange* pDX); |
| 22 |
|
|
virtual BOOL OnInitDialog(); |
| 23 |
|
|
|
| 24 |
|
|
afx_msg void OnBnClickedOk(); |
| 25 |
|
|
afx_msg void OnCbnSelchangeCmbConnections(); |
| 26 |
|
|
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); |
| 27 |
|
|
|
| 28 |
|
|
public: |
| 29 |
|
|
CSpinButtonCtrl m_xSpnCount1; |
| 30 |
|
|
CSpinButtonCtrl m_xSpnCount2; |
| 31 |
|
|
CComboBox m_xCmbLimit; |
| 32 |
|
|
CButton m_xCheckInternet; |
| 33 |
|
|
CButton m_xCheckPlugin; |
| 34 |
|
|
CButton m_xRadioGraphics1; |
| 35 |
|
|
CButton m_xRadioGraphics2; |
| 36 |
|
|
CStatic m_xTxtCount; |
| 37 |
|
|
CEdit m_xEditCount1; |
| 38 |
|
|
CEdit m_xEditCount2; |
| 39 |
|
|
|
| 40 |
|
|
protected: |
| 41 |
|
|
MASTER_SETTING m_MasterSetting; |
| 42 |
|
|
DWORD m_dwMaxProcessors; |
| 43 |
|
|
HICON m_hIcon; |
| 44 |
|
|
}; |
| 45 |
|
|
|
| 46 |
|
|
////////////////////////////////////////////////////////////////////////// |
| 47 |
|
|
|
|