代码搜索结果
找到约 50,122 项符合
Button 的代码
button.tcl
# ------------------------------------------------------------------------------
# button.tcl
# This file is part of Unifix BWidget Toolkit
# --------------------------------------------------------
button.html
Button
NAME
Button
- Button widget with enhanced options
CREATION
button.aspx
public void Button_Click(Object sender,EventArgs e)
{
string argName = ((Button)sender).CommandName;
string argArg = ((Button)s
button.c
/*
BUTTON - 按钮
www.ecub2006.com
*/
#include "gui.h" /* GUI 的头文件 */
void MyWin(HAND hd,MESSAGE msg) /* 窗口的消息处理函数 */
{
if(msg.type == GM_SYSTEM) /* 判断消息类型,消息类型全部为大写 */
switch(msg.message)
button.c
// filename button.c
// connect a button to DIO pin 1 and ground
// blinks green and red led on the 9302 board when button is pressed
//
// compile arm-linux-gcc -o button button.c
//
#include
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.c
/*
** $Id: button.c,v 1.12 2004/04/19 07:30:21 weiym Exp $
**
** button.c: The Button control demo program.
**
** Copyright (C) 2001 ~ 2002 Wei Yongming.
** Copyright (C) 2003 Feynman Software.
**
**
a2dp_sd_button.button
// Copyright (C) Cambridge Silicon Radio Ltd. 2005-2006
// Part of BlueLab 3.6.2-release
// Bind buttons to PIOs
pio 3 BUTTON
// Define the button press actions
message APP_BUTTON_PRESS_IND
button.h
/**
* Button
*/
#pragma once
const int MAX_TITLE_LEN = 16;
class Button: public virtual Control
{
public:
Button(Window *pWnd, int x, int y, int width, int height, const wchar_t *ti