Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /WinCS/BMConfirmDlg.h

Parent Directory Parent Directory | Revision Log 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: 1150 byte(s)


1 sho1get 11 #pragma once
2    
3     #include "afxwin.h"
4    
5     //////////////////////////////////////////////////////////////////////////
6    
7     class CBMConfirmDlg : public CDialog, CStringConvert
8     {
9     DECLARE_DYNAMIC(CBMConfirmDlg)
10    
11     public:
12     CBMConfirmDlg(CWnd* pParent = NULL);
13     virtual ~CBMConfirmDlg();
14     enum { IDD = IDD_BMCONFIRM_DIALOG };
15    
16     void SetSlaves(UINT nSlaves) { m_nSlaves = nSlaves; }
17     void SetSystemProcessors(UINT nProcessors) { m_nSystemProcessors = nProcessors; }
18     void SetSingleProcessors(UINT nProcessors) { m_nSingleProcessors = nProcessors; }
19     BOOL IsSystemMode() { return m_fSystem; }
20    
21     protected:
22     DECLARE_MESSAGE_MAP()
23     virtual void DoDataExchange(CDataExchange* pDX);
24     virtual BOOL OnInitDialog();
25    
26     afx_msg void OnBnClickedOk();
27     afx_msg void OnCbnSelchangeCmbBmconfirmMode();
28     afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
29    
30     public:
31     CComboBox m_xCmbMode;
32     CEdit m_xEditSlaves;
33     CEdit m_xEditProcessors;
34    
35     protected:
36     BOOL m_fSystem;
37     UINT m_nSlaves;
38     UINT m_nSystemProcessors;
39     UINT m_nSingleProcessors;
40     };
41    
42     //////////////////////////////////////////////////////////////////////////

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26