查找来自其他CS文件的控件 [英] Find control from a different cs file

查看:81
本文介绍了查找来自其他CS文件的控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在首页中有一个树状视图.主页的另一部分是
的框架 导航到一些URI,具体取决于树视图的选择.

树视图是一个用户控件,可在其cs文件中触发选择.
找到我的首页框架并指示其执行操作的最佳方法是什么?

谢谢
Bob

I have a treeview in Homepage. The other part of home page is a frame to
navigate to some URI depending on treeview selection.

The treeview is a usercontrol that fires a selection in its cs file.
What is the best way to find my home page frame and instruct it to do something?

Thanks
Bob

推荐答案

目前尚不清楚您真正想要的是什么,因此请查看下面的相应提示:

获取您的Silverlight主页 [获取用于服务Silverlight应用程序的页面的URL [ ^ ]
It''s not clear what you actually want, so check out the appropriate tip below:

Get Your Silverlight MainPage[^]

Get The URL For the Page Serving Your Silverlight App[^]


这篇关于查找来自其他CS文件的控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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