#region rx
public static class rx
{
static BindingFlags bind = BindingFlags.FlattenHierarchy |
BindingFlags.IgnoreCase | BindingFlags.Instance |
BindingFlags.NonPublic |
BindingFlags.InvokeMethod | BindingFlags.Static |
BindingFlags.Public;
public static object call(object parent,string methodName,object[] args)
{
MethodInfo metInfo = parent.GetType().GetMethod(methodName,bind);
return metInfo.Invoke(parent,args);
}
}
#endregion // End rx
but get a compiler error that "BindingFlags" could not be found.
I used this Class to allow me to programmatically do mouse clicks on buttons.
Can this be done in NT 8?
taddypole...

Comment