Exemplo n.º 1
0
 internal HtmlForm(HtmlObject element, string name, string action, HtmlFormMethod method, ContentType encType)
 {
     Element = element;
     Name    = name;
     Action  = action;
     Method  = method;
     EncType = encType;
 }
Exemplo n.º 2
0
 public static T SetMethod <T>(this T control, HtmlFormMethod method) where T : FormControl
 {
     control.Method = method;
     return(control);
 }
Exemplo n.º 3
0
 public HtmlForm(string action, HtmlFormMethod method, List <InputElement> inputElements)
 {
     Action        = action;
     Method        = method;
     InputElements = inputElements;
 }