public CCForm(CCreator parent, ITisFormData form) #endif : base(parent, form != null? form.Name:String.Empty, parent == null || !parent.CurrentProfile.IgnoreExceptions ? CCUtils.GetSpecialTags(form) : null, parent == null || !parent.CurrentProfile.IgnoreNamedUserTags ? CCUtils.GetNamedUserTags(form, false) : null, parent == null || !parent.CurrentProfile.IgnoreUserTags ? CCUtils.GetUserTags(form, true) : null) { try { if (pages == null) { pages = new List <CCPage>(); } else { pages.Clear(); } this.ParentCollection = form.ParentCollection; this.FormType = form.FormType; this.EflowOwner = form; this.NamedParent = form.ParentCollection.Name; foreach (ITisPageData pg in form.LinkedPages) { pages.Add(new CCPage(this.ParentCreator, pg)); } } catch (Exception ex) { ILog.LogError(ex); } }
internal CCForm(CCreator parent, ITisFormData form)
public CCForm(ITisFormData form) : this(null, form) { }