package com.hangsheng.button; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; public class Ex07_WidgetButtonActivity extends Activity { /** Called when the activity is first created. */ @
if pagecontrol.activepage=TabSheet1 then是在当前显示页------解决方案--------------------------------------------------------PageControl1.ActivePage------解决方案--------------------------------------------------------case activepageindex------解决方案------------------
public partial class Form1 : Form { [System.Runtime.InteropServices.DllImport("user32.dll")] private static extern short GetAsyncKeyState(Keys vKey); public Form1() { InitializeComponent(); } private void Form1_KeyDown(object sender, KeyEventArg