Here is code to add mobile input panel to your mobile application
using Microsoft.WindowsCE.Forms;
this.textBox1.GotFocus += new EventHandler(txt_GotFocus);
this.textBox1.LostFocus += new EventHandler(txt_LostFocus);
private void txt_GotFocus(object sender, System.EventArgs e)
{
inpSIP.Enabled = true;
}
private void txt_LostFocus(object sender, System.EventArgs e)
{
inpSIP.Enabled = false;
}
using Microsoft.WindowsCE.Forms;
this.textBox1.GotFocus += new EventHandler(txt_GotFocus);
this.textBox1.LostFocus += new EventHandler(txt_LostFocus);
private void txt_GotFocus(object sender, System.EventArgs e)
{
inpSIP.Enabled = true;
}
private void txt_LostFocus(object sender, System.EventArgs e)
{
inpSIP.Enabled = false;
}
3:00 AM
0 Responses to "Add Input Panel"
Post a Comment