如何在C#中访问窗口控件? [英] how to access a window control in c#?
本文介绍了如何在C#中访问窗口控件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有问题...如何在正在运行的应用程序的用户定义的控制窗口中获取文本?
解决方案
用户定义的控件应具有一个公共属性,该属性应允许您访问此文本框.如果没有,那么您将需要实现一个以允许您访问此文本.
hi
i hv a problem... how can i obtain the texts in a user-defined control window of a running application?
thx a lot
解决方案
The user defined control should have a public property that should allow you to access this text box. If not then you will need to implement one to allow you to access this text.
这篇关于如何在C#中访问窗口控件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文