C# 查找指定名称的控件(转)
1 |
请问我知道控件的名称如何得到这个控件对象呢? |
var button = this .FindName( "button1" ) as Button; Button button = this .FindName( "button1" ) as Button; |
1 |
请问我知道控件的名称如何得到这个控件对象呢? |
var button = this .FindName( "button1" ) as Button; Button button = this .FindName( "button1" ) as Button; |