/// <summary>
        /// Creates a new file frecords for this form without a specified person.
        /// </summary>
        public Formfile CreateFile()
        {
            Formfile file = new Formfile();

            file.Form = this.Form;
            file.Save(Utility.GetActiveUsername());
            this.LoadFile(file.Id);
            return(file);
        }
        /// <summary>
        /// Creates a file record for the specified person.
        /// </summary>
        public Formfile CreateFile(Person person)
        {
            if (this.HasFile(person))
            {
                throw new NotSupportedException("A file already exists for the person");
            }
            Formfile file = new Formfile();

            file.Form   = this.Form;
            file.Person = person;
            file.Save(Utility.GetActiveUsername());
            this.LoadFile(file.Id);
            return(file);
        }