C#/Winform
(.NET) Control 에서 특정 메서드 호출하기
kjun.kr
2017. 4. 15. 14:28
728x90
MethodInfo method = control.GetType().GetMethod("메서드명", BindingFlags.Public | BindingFlags.Instance);
if (method != null)
{
method.Invoke(control, 인자l)
}
if (method != null)
{
method.Invoke(control, 인자l)
}
728x90