Type t = this.GetType();
MethodInfo m = t.GetMethod("ListRefresh",BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.ExactBinding);
if (m != null)
{
m.Invoke(this, null);
}
通过反射执行私有方法
最新推荐文章于 2023-10-28 18:57:17 发布
525

被折叠的 条评论
为什么被折叠?



