/// <summary> /// /// </summary> /// <param name="request"></param> /// <returns></returns> public FormItemResponse Any(GetFormItemRequest request) { var response = new FormItemResponse(); response.Data = Db.Single <FormItem>(request.Id); return(response); }
public HTMLPictureBox(System.Windows.Forms.PictureBox control) : base(control) { this.Thiscontrol = control; cssScript.html_Type = "div"; cssScript.type_Name = Thiscontrol.Name; cssScript.sxml = special_xml.css; cssScript.mime_Type = type.css; cssScript.values = new string[] { (Thiscontrol.Bounds.X + (Thiscontrol.Bounds.X / 2)).ToString() + "px", (Thiscontrol.Bounds.Y + (Thiscontrol.Bounds.Y / 2)).ToString() + "px", "absolute", Thiscontrol.ClientRectangle.Height.ToString() + "px", Thiscontrol.ClientRectangle.Width.ToString() + "px" }; cssScript.variables = new css_variables[] { css_variables.left, css_variables.top, css_variables.position, css_variables.height, css_variables.width }; //this.Thiscontrol.ClientRectangle.X OnItemResponse += new FormItemResponse(HTMLTextBox_OnItemResponse); }
public HTMLLabel(Label control) : base(control) { this.Thiscontrol = control; cssScript.html_Type = "div"; cssScript.type_Name = Thiscontrol.Name; cssScript.sxml = special_xml.css; cssScript.mime_Type = type.css; cssScript.values = new string[] { (Thiscontrol.Bounds.X + (Thiscontrol.Bounds.X / 2) + 10).ToString() + "px", (Thiscontrol.Bounds.Y + (Thiscontrol.Bounds.Y / 2) - 28).ToString() + "px", "absolute" }; cssScript.variables = new css_variables[] { css_variables.left, css_variables.top, css_variables.position }; //this.Thiscontrol.ClientRectangle.X OnItemResponse += new FormItemResponse(HTMLTextBox_OnItemResponse); }
public HTMLButton(System.Windows.Forms.Button control) : base(control) { this.Thiscontrol = control; cssScript.html_Type = "div"; cssScript.type_Name = Thiscontrol.Name; cssScript.sxml = special_xml.css; cssScript.mime_Type = type.css; cssScript.values = new string[] { (Thiscontrol.Bounds.X + (Thiscontrol.Bounds.X / 2)).ToString() + "px", (Thiscontrol.Bounds.Y + (Thiscontrol.Bounds.Y / 2)).ToString() + "px", "absolute", Thiscontrol.ClientRectangle.Height.ToString() + "px", Thiscontrol.ClientRectangle.Width.ToString() + "px" }; cssScript.variables = new css_variables[] { css_variables.left, css_variables.top, css_variables.position, css_variables.height, css_variables.width }; //this.Thiscontrol.ClientRectangle.X OnItemResponse += new FormItemResponse(HTMLTextBox_OnItemResponse); }
public HTMLLabel(Label control) : base(control) { this.Thiscontrol = control; cssScript.html_Type = "div"; cssScript.type_Name = Thiscontrol.Name; cssScript.sxml = special_xml.css; cssScript.mime_Type = type.css; cssScript.values = new string[] { (Thiscontrol.Bounds.X + (Thiscontrol.Bounds.X / 2) + 10).ToString() + "px", (Thiscontrol.Bounds.Y + (Thiscontrol.Bounds.Y / 2) - 28).ToString() + "px", "absolute" }; cssScript.variables = new css_variables[] { css_variables.left, css_variables.top, css_variables.position}; //this.Thiscontrol.ClientRectangle.X OnItemResponse += new FormItemResponse(HTMLTextBox_OnItemResponse); }