Develop and Download Open Source Software

Browse Subversion Repository

Contents of /WinCS/WinCSSetupDlg.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11 - (show 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: 1299 byte(s)


1 #pragma once
2
3 #include "afxwin.h"
4
5 //////////////////////////////////////////////////////////////////////////
6
7 class CWinCSSetupDlg : public CDialog, CStringConvert
8 {
9 DECLARE_DYNAMIC(CWinCSSetupDlg)
10
11 public:
12 CWinCSSetupDlg(CWnd* pParent = NULL);
13 virtual ~CWinCSSetupDlg();
14 enum { IDD = IDD_SETUP_DIALOG };
15
16 void SetWcsStatus(WCS_STATUS wcsStatus) { m_wcsStatus = wcsStatus; }
17 void GetWcsStatus(WCS_STATUS &wcsStatus) { wcsStatus = m_wcsStatus; }
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 OnCbnSelchangeCmbSetupOperation();
26 afx_msg void OnBnClickedBtnSetupOption();
27
28 BOOL CheckFormat();
29 void OutputSettingsData();
30
31 public:
32 WCS_STATUS m_wcsStatus;
33 DWORD m_dwListSize;
34 IPv4 m_IPv4List[WCS_MAX_NETSIZE];
35
36 public:
37 CComboBox m_xCmbInterface;
38 CComboBox m_xCmbOperation;
39 CButton m_xBtnOperation;
40 CEdit m_xEditConnection;
41 CEdit m_xEditUDPClientPort;
42 CEdit m_xEditUDPServerPort;
43 CEdit m_xEditTCPPort;
44 CEdit m_xEditRetry;
45 CEdit m_xEditTimeout;
46
47 protected:
48 HICON m_hIcon;
49 UINT m_nSelectInterface;
50 UINT m_nSelectOperation;
51 };
52
53 //////////////////////////////////////////////////////////////////////////

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