/// <summary> /// Creates a form in which a business object can be edited /// </summary> /// <param name="bo">The business object to edit</param> /// <param name="uiDefName">The name of the set of ui definitions /// used to design the edit form. Setting this to an empty string /// will use a ui definition with no name attribute specified.</param> /// <returns>Returns a DefaultBOEditorForm object</returns> protected virtual IDefaultBOEditorForm CreateEditorForm(BusinessObject bo, string uiDefName) { return(_controlFactory.CreateBOEditorForm(bo, uiDefName)); }