Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 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;
 }