// ClientDlg.h : header file // #pragma once #include "afxwin.h" #include "afxcmn.h" #include "atlbase.h" // CClientDlg dialog class CClientDlg : public CDialog { // Construction public: CClientDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data enum { IDD = IDD_CLIENT_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support // Implementation protected: HICON m_hIcon; // Generated message map functions virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg void Buffcheck(CString); afx_msg HCURSOR OnQueryDragIcon(); DECLARE_MESSAGE_MAP() public: afx_msg void OnBnClickedCheck2(); CIPAddressCtrl m_ip; CEdit m_port; afx_msg void OnBnClickedIpport(); afx_msg void OnBnClickedLed1(); CEdit m_delay; afx_msg void OnBnClickedLed2(); afx_msg void OnBnClickedLed3(); afx_msg void OnBnClickedOk(); afx_msg void OnBnClickedCancel(); };