示例#1
0
        /// <summary>Adds the given option to the list. Typically the markup would be a HTML variable.
        /// Note that you can also create your own option class (inherit from Option) and add that instead.</summary>
        public Option add(string markup, OptionEventMethod method)
        {
            Option option = new Option(markup, method);

            add(option);
            return(option);
        }
示例#2
0
 /// <summary>Adds the given option to the list. Typically the markup would be a HTML variable.
 /// Note that you can also create your own option class (inherit from Option) and add that instead.</summary>
 public Option add(string markup, OptionEventMethod method)
 {
     return(list.add(markup, method));
 }
示例#3
0
 public Option(string markup, OptionEventMethod method)
 {
     this.markup = markup;
     this.method = method;
 }