freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

斗地主的制作與實(shí)現(xiàn)(報(bào)告完整源代碼論文)word格式(參考版)

2024-12-10 03:59本頁面
  

【正文】 MessageBox(str)。 // CString str。 PlayerPos()。 ()。 pControlm_ready[1]=false。amp。amp。 } else { pControlm_ready[1]=true。 PrintAll()。 OutCards[1][0].Num=16。 isgoon=true。 3) return。 } if(=0 amp。 pControlm_ready[1] = false。amp。amp。amp。 if(!pControlm_Isserver)pControlm_ready[1] = true。 } ////////////////////////////////////////////////////////////////// /* 函數(shù)名稱: OnOk() 函數(shù)介紹:響應(yīng)確定按鈕的點(diǎn)擊 第 34 頁 共 59 頁 輸入?yún)?shù):無 輸出參數(shù):無 返回值 :無 */ void CProgramView::OnOK() { // MessageBox(你點(diǎn)擊了確定按鈕 )。 ReleaseDC(pdc)。 // pDCSetTextColor(RGB(255,255,255))。 (%d ,%d ,)。 CString st。 } void CProgramView::OnMouseMove(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default //跟蹤光標(biāo)坐標(biāo) int mx=。 SetTimer(3,35000,NULL)。 mciSendString(str, 0, 0, 0)。 //mciSendString(res\\,NULL,NULL,NULL)。 (SW_HIDE)。 // ///////////////////////////////////////////////////////////////////// 第 33 頁 共 59 頁 ///// /* *函數(shù)名稱: (SW_SHOW) *函數(shù)介紹:按鈕的顯示控制 *輸入?yún)?shù):當(dāng)輸入?yún)?shù)為 SW_SHOW 表示顯示按鈕,當(dāng)為 SW_HIDE 表示隱藏按鈕 *輸出參數(shù):無 *返回值 :無 */ //顯示按鈕 (SW_HIDE)。 // (IDB_BITMAP1)。 //過牌 /* (_T(過牌 ),WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON, CRect(533,460,638,500),this,ID_PASS)。 */ //出牌 /*(_T(出牌 ), WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON, CRect(533,387,637,427), this, ID_SENDCARD)。*/ (_T(準(zhǔn)備 ), WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON, CRect(420,500,490,525), this, ID_OK)。 // TODO: Add your specialized creation code here /////////////////////////////////////////////////////////////////////// /* 第 32 頁 共 59 頁 *函數(shù)名稱: (_T(確定 ),//按鈕的 caption 屬性,按鈕的顯示 WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON, // 按鈕也是一種窗體,同樣有不同 //風(fēng)格,通過對(duì)常量或運(yùn)算進(jìn)行組合 ,達(dá)到一定的效果 ,這些常量的含義可以參考 MSDN CRect(660,410,765,450), //這個(gè)參數(shù)指出按鈕在視圖中左上角和右下角坐標(biāo),在 //確定了按鈕位置的同時(shí)也確定了其大小 this,//這個(gè)指針指向按鈕這個(gè)窗體的父窗體 ID_OK)。 return (CProgramDoc*)m_pDocument。 dc) const { CView::Dump(dc)。 } void CProgramView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/) { // TODO: add extra initialization before printing 第 31 頁 共 59 頁 } void CProgramView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/) { // TODO: add cleanup after printing } ///////////////////////////////////////////////////////////////////////////// // CProgramView diagnostics ifdef _DEBUG void CProgramView::AssertValid() const { CView::AssertValid()。 } PrintAll()。 (m_card)。 (m_background)。 // TODO: add draw code for native data here //初始化 CDC static bool st=TRUE。 } ///////////////////////////////////////////////////////////////////////////// // CProgramView drawing void CProgramView::OnDraw(CDC* pDC) { CProgramDoc* pDoc = GetDocument()。 (IDB_CARD)。 } 第 30 頁 共 59 頁 BOOL CProgramView::PreCreateWindow(CREATESTRUCTamp。 else pControlBroadcast(退出游戲 )。 isDrawed =false。 cardmiddle=NULL。 cardleft=NULL。 PlayerName[1]=。 srand(time(NULL))。 isMsOpen = true。//創(chuàng)建一個(gè)指向 NetControl 的指針 = this。 endif extern Managers manager。//用來畫還沒發(fā)牌時(shí)牌的情況 }。 int timer。 //}}AFX_MSG DECLARE_MESSAGE_MAP() private: bool isMsOpen。 afx_msg void OnCsc()。 afx_msg void OnExit()。 afx_msg void OnPassc()。 afx_msg void OnMsclose()。 afx_msg void OnL5()。 afx_msg void OnPoint()。 afx_msg void OnL3()。 afx_msg void OnL1()。 afx_msg void OnLButtonDown(UINT nFlags, CPoint point)。 endif protected: // Generated message map functions protected: //{{AFX_MSG(CProgramView) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct)。 第 27 頁 共 59 頁 virtual void Dump(CDumpContextamp。//整體重畫 friend class NetControl。 CString PlayerName[3]。//點(diǎn)擊退出按鈕后的響應(yīng)函數(shù) void OnOK()。//畫出另外兩個(gè)玩家還剩下的牌,以及 //他們剛剛出牌 void DrawMyCard()。//畫出當(dāng)前玩家所出的牌 int SelectNum(int num,int mx,int my)。//根據(jù)傳入的字符串,繪出玩家的名稱 void OnPass()。 void DrawLeft()。 void PrintState()。 void PrintAll(int type)。 bool isgoon。 bool m_isReady。 Card OutCards[3][20]。 Card *cardmiddle。 //測試 // CButton m_test。 CButton m_sendcard。 //定義 BUTTON 對(duì) 象 第 26 頁 共 59 頁 CButton m_ok。 //定義畫圖用 CBitmap CBitmap m_background。 //}}AFX_VIRTUAL public: //定義畫圖用 CDC CDC Background。 virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo)。 cs)。 // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CProgramView) public: virtual void OnDraw(CDC* pDC)。 DECLARE_DYNCREATE(CProgramView) // Attributes public: CProgramDoc* GetDocument()。 Sendleft[i].Type = 1。 Sendleft[i].Num = 0。i 4。 PlayCards[i][j].Type = 1。 PlayCards[i][j].Num = 0。j 20。 i 3。 OutCards[i].Type = 1。 OutCards[i].Num = 0。 PreOut[i].Type = 1。 PreOut[i].Num = 0。i 20。 i=j=0。 } else if(7 == type2) { PlaySound(res\\ 出牌 \\,NULL,SND_ASYNC |SND_NODEFAULT)。 } } else if(3 == num2) { PlaySound(res\\ 出牌 \\,NULL,SND_ASYNC |SND_NODEFAULT)。 break。 break。 break。 break。 break。 break。 break。 break。 break。 break。 break。 break。 break。 default:。 case 15: 第 22 頁 共 59 頁 PlaySound(res\\ 出牌 \\,NULL,SND_ASYNC |SND_NODEFAULT)。 case 14: PlaySound(res\\ 出牌 \\,NULL,SND_ASYNC |SND_NODEFAULT)。 case 13: PlaySound(res\\ 出牌 \\,NULL,SND_ASYNC |SND_NODEFAULT)。 case 12: PlaySound(res\\ 出牌 \\,NULL,SND_ASYNC |SND_NODEFAULT)。 case 11: PlaySound(res\\ 出牌 \\,NULL,SND_ASYNC |SND_NODEFAULT)。 case 10: PlaySound(res\\ 出牌 \\,NULL,SND_ASYNC |SND_NODEFAULT)。 case 9:
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1