代码搜索结果
找到约 10,000 项符合
Button 的代码
button.h
//Button.h
class Button
{
public:
Button(){ x = 0 ; }
void numbernButton(int) ;
private:
int x ;//0的时候表示按钮未被按下,1的时候表示1楼按钮被按下,2的时候表示2楼按钮被按下
} ;
button.cpp
//Button.cpp
#include"All.h"
void Button::numbernButton( int n )
{
x = n ;
if( x == 1 )
cout
button.h
#ifndef _CTEXTBUTTON_H
#define _CTEXTBUTTON_H
class CTextButton
{
public:
VOID ClickFreeAllBtn(VOID);
INT GetButtonCount(VOID);
CMTxtBtn* GetButton(INT nIndex);
CTextButton();
button.cpp
// 弥措 滚瓢狼 荐
#include "stdafx.h"
#define MAX_TXT_BUTTON_COUNT 5
/////////////////////////////////////////////////////////////////////////
// CTextButton : 积己磊
/////////////////////////////////