如何使用SendKeys将值从一个表单传递到另一个表单 [英] How to Pass Value from one Form to another using SendKeys

查看:60
本文介绍了如何使用SendKeys将值从一个表单传递到另一个表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好。



我有问题。我有这个Mainform,它包含一个虚拟键盘,并希望将文本输入到我的其他表单。我的问题是,当我点击我的Mainform上的虚拟键盘时,第二个表单变为非活动状态。因此,当我输入时,其他表格中不会出现任何字母。



有没有办法让这两种表格生效?还是有其他方法可以解决这个问题吗?



谢谢。

Hello.

I have a problem. I have this Mainform which contains a virtual keyboard and would like to input a text to my other form. My problem is when I click on the virtual keyboard which is on my Mainform, the second form becomes inactive. So when I type no letters will appear in the other form.

Is there a way to make these two forms active? Or are there any other methods to solve this problem?

Thank you.

推荐答案

访问这里。 。



http://msdn.microsoft .com / zh-CN / library / ms171548.aspx [ ^ ]
visit here..

http://msdn.microsoft.com/en-us/library/ms171548.aspx[^]


这篇关于如何使用SendKeys将值从一个表单传递到另一个表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆