⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 autoplayconfiger.h

📁 The application wizard has created this SoccerDoctor application for you. This application not onl
💻 H
字号:
#pragma once




/************************************************************************/
/*                    CAutoplayThread Class                             */
/************************************************************************/
class CAutoplayThread : public CWinThread {
public:
	CAutoplayThread(CString ServerAddr,UINT ServerPort,CString ClientPath,
		CString ClientParam,CString GoalieParam,UINT GoalieNum):
		_ServerAddr(ServerAddr),_ServerPort(ServerPort),_ClientPath(ClientPath)
		,_ClientParam(ClientParam),_GoalieParam(GoalieParam),_GoalieNum(GoalieNum)
	{
		m_bAutoDelete = false; 
		_bAlive = true;
	}
	virtual int Run();
	bool Alive(bool v){ _bAlive = v; }
protected:
	virtual BOOL InitInstance();
private:
	CString _ServerAddr;
	UINT _ServerPort;
	CString _ClientPath;
	CString _ClientParam;
	CString _GoalieParam;
	UINT _GoalieNum;
	bool _bAlive;
};

class CAutoplayConfiger : public CDialog
{
	DECLARE_DYNAMIC(CAutoplayConfiger)


public:
	CAutoplayConfiger(CWnd* pParent = NULL);   // standard constructor
	virtual ~CAutoplayConfiger();

// Dialog Data
	enum { IDD = IDD_CONFIG_AUTOPLAY };


protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support


	DECLARE_MESSAGE_MAP()
private:
	afx_msg void OnBrowseClient();
	afx_msg void OnRunAutoplay();
	CString _ServerAddr;
	UINT _ServerPort;
	CString _ClientPath;
	CString _ClientParam;
	CString _GoalieParam;
	UINT _GoalieNum;
	CAutoplayThread* _ApThread;
public:
	virtual BOOL OnInitDialog();
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -