/// <summary> /// /// </summary> /// <param name="f"></param> /// <returns></returns> public bool SaveForm(UIForms.Form f) { if (f.Save()) { var cc = new AppElement.AppForm(this.ClientID, this.AppID, f.FormID); this.Forms.Add(cc); if (cc.Assign()) { return(true); } else { return(false); } } else { return(false); } }
internal void Set(UIForms.Form form) { ElementID = form.FormID; _form = form; }
/// <summary> /// /// </summary> /// <param name="clientid"></param> /// <param name="formid"></param> /// <param name="builder"></param> public FormBuilder(UIForms.Form uIForms, IFormFieldBuilder builder) { UIForm = uIForms; _builder = builder; }