在pad上点击输入框调出小键盘
在页面加载时加入:
var asForm = System.Windows.Automation.AutomationElement.FromHandle(this.Handle);
private void frmPadWIPCallMaterial_Load(object sender, EventArgs e)
{
try
{
var asForm = System.Windows.Automation.AutomationElement.FromHandle(this.Handle);//调出小键盘
InitControl();
if (mbLoadFlag == false && BindGV() == true)//&& BindGV() == true
{
mbLoadFlag = true;
}
}
catch (Exception ex)
{
CommonFunction.ShowMsgBox(ex.Message);
}
}