LogOn.h
上传用户:hnzycx
上传日期:2022-08-09
资源大小:12567k
文件大小:1k
- #pragma once
- #include "afxwin.h"
- // CLogOn dialog
- class CLogOn : public CDialog
- {
- DECLARE_DYNAMIC(CLogOn)
- public:
- CLogOn(CWnd* pParent = NULL); // standard constructor
- virtual ~CLogOn();
- // Dialog Data
- enum { IDD = IDD_DIALOG_LOGON };
- private:
- //CTCP m_tcp;
- CString GetLocalIP();
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- static void CALLBACK OnDisConnect(CWnd* pWnd);
- static void CALLBACK OnRead(CWnd* pWnd,const char *buf,int len);
- static void CALLBACK OnError(CWnd* pWnd,int nErrorCode);
- DECLARE_MESSAGE_MAP()
- public:
- afx_msg void OnBnClickedOk();
- CString m_remoteHost;
- int m_remotePort;
- CEdit m_editName;
- CEdit m_editPwd;
- };