www.pudn.com > 6manager_server.rar > manager_clientDlg.h


// manager_clientDlg.h : header file 
// 
 
#if !defined(AFX_MANAGER_CLIENTDLG_H__65618ACD_31EC_457C_B0B3_7A761206998A__INCLUDED_) 
#define AFX_MANAGER_CLIENTDLG_H__65618ACD_31EC_457C_B0B3_7A761206998A__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "ClientUseSocket.h" 
///////////////////////////////////////////////////////////////////////////// 
// CManager_clientDlg dialog 
 
class CManager_clientDlg : public CDialog 
{ 
// Construction 
public: 
	CManager_clientDlg(CWnd* pParent = NULL);	// standard constructor 
 
	BOOL ConnectServer(CClientUseSocket *pSocket); //协助建交socket连接 
	void GetScoketMsg(CClientUseSocket *pSocket);   //接收网络消息 
	UINT m_portaddress;  //端口号 
	CString m_servername;//地址 
	CClientUseSocket *m_pSocket;//SOCKET对象 
	void enable_control(int state); 
//	CString m_edit_save1,m_edit_save2,m_edit_save3,m_edit_save4,m_edit_save5,m_edit_save6; 
 
// Dialog Data 
	//{{AFX_DATA(CManager_clientDlg) 
	enum { IDD = IDD_MANAGER_CLIENT_DIALOG }; 
	CString	m_socketinfo; 
	CString	m_output; 
	CString	m_edit_save1; 
	CString	m_edit_save2; 
	CString	m_edit_save4; 
	CString	m_edit_save5; 
	CString	m_edit_save6; 
	CString	m_edit_save3; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CManager_clientDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CManager_clientDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	virtual void OnOK(); 
	afx_msg void OnButtonRemove(); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnButtonSave1(); 
	afx_msg void OnButtonSave2(); 
	afx_msg void OnRun(); 
	afx_msg void OnButtonSave3(); 
	afx_msg void OnButtonSave4(); 
	afx_msg void OnButtonSave5(); 
	afx_msg void OnButtonSave6(); 
	afx_msg void OnReceiveSuccess(); 
	afx_msg void OnSendSuccess(); 
	afx_msg void OnReceiveNumber(); 
	afx_msg void OnSendNumber(); 
	afx_msg void OnFileSave(); 
	afx_msg void OnFileExit(); 
	afx_msg void OnViewConnect(); 
	afx_msg void OnViewDisconnect(); 
	afx_msg void OnViewHelp(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MANAGER_CLIENTDLG_H__65618ACD_31EC_457C_B0B3_7A761206998A__INCLUDED_)