2018年10月19日

C# 反射获取控件

摘要: Control control = Controls.Find("button1", true)[0]; //object o = control.GetType().GetProperty("PropertyName").GetValue(control, null); System.Reflection.EventInfo ev = control.GetType().GetEvent("C... 阅读全文

posted @ 2018-10-19 12:45 HOT SUMMER 阅读(2783) 评论(0) 推荐(0)

导航