首页  编辑  

通过控件名找到其实例

Tags: /C#/RTTI/   Date Created:

Control [] vControls = Controls . Find( "button1" , true );

if (vControls . Length >= 1 ) vControls[ 0 ] . Text = "Zswang ;