public string OnChoiceSelectEx() { string value = ""; OnChoiceSelectEx oo = new OnChoiceSelectEx(this.s, this.header); Type t = oo.GetType(); MethodInfo mi = t.GetMethod(this.reference(1)); try { object o = mi.Invoke(oo, null); value = (string)o; } catch (NullReferenceException) { } return(value); }
public string OnChoiceSelectEx() { string value = ""; OnChoiceSelectEx oo = new OnChoiceSelectEx(this.s, this.header); Type t = oo.GetType(); MethodInfo mi = t.GetMethod(this.reference(1)); try { object o = mi.Invoke(oo, null); value = (string)o; } catch (NullReferenceException) { } return value; }