怎样用c#代码打开pda的软键盘呢?
我想在某个txtbox获得焦点时,自动弹出软键盘.
请问该怎么做呢?
请各位高手指教!
谢谢
我想在某个txtbox获得焦点时,自动弹出软键盘.
请问该怎么做呢?
请各位高手指教!
谢谢
解决方案 »
- 动态sql,exec('update ') 传参的问题
- 读xml到treeview??
- 一个不规则的骰子,分别用1-6位数字表示每个面,假设连续抛10次后的结果序列为:2132461232.问:抛3次的结果序列为325的概率是多大?
- c# 中xml的问题。
- 请教各位高手:怎么样改变文件的编码格式。
- [求助]请问控件有没有(或类似)form的OnLoad()事件的?应如何实现?
- 请问哪些朋友有下载C#资料的,最好是教程,电子书之类的,从基础讲起最好!请分享一下,给者有分!
- 關于自定義control
- 急,在線等待
- 对面的高手看过来--"请问如何把一个Excel文件中的内容导入到一个DataGrid控件中?"
- C#项目的发布打包问题
- 求用c#写的将页面导出为word的代码
public static uint SIPF_ON = 0x01;//打开
[DllImport("coredll.dll")]
public extern static void SipShowIM(uint dwFlag);
调用windows里面的api
我的代码
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;namespace DeviceApplication2
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
public static uint SIPF_OFF = 0x00;//关闭
public static uint SIPF_ON = 0x01;//打开 [DllImport("coredll.dll")]
public extern static void SipShowIM(uint dwFlag);
private void button1_Click(object sender, EventArgs e)
{
SipShowIM(SIPF_ON);
}
}
}