public HtmlFormShowWebpage() { this.Title = "Goto webpage"; this.ElUri = this.AddElement(new ElementTextbox("url", "URL")); //this.AddElement(new ElementNumber("autoRefresh", "Auto refresh", -1)); this.AddElementSubmit(); }
public HtmlFormAddFileToLibrary() { this.Title = "Add file to library"; this.ElFilename = this.AddElement(new ElementTextbox("filename", "Filename (local to server)")); this.AddElementSubmit(); }
internal HtmlFormElement AddElement(HtmlFormElement el) { elements.Add(el); return el; }