示例#1
0
        public override string GetFieldShowText(ScreenContent ScreenContent)
        {
            var sb = new StringBuilder();

            foreach (var contFld in ScreenContent.ContinuedFieldSegments(this.FieldKey.FieldNum))
            {
                sb.Append(contFld.GetShowText(ScreenContent));
            }
            return(sb.ToString());
        }
示例#2
0
        /// <summary>
        /// return the modified flag of the continued entry field. Examine each of the
        /// segment fields.
        /// </summary>
        /// <param name="ScreenContent"></param>
        /// <returns></returns>
        public override bool GetModifiedFlag(ScreenContent ScreenContent)
        {
            bool isModified = false;

            foreach (var contFld in ScreenContent.ContinuedFieldSegments(this.FieldKey.FieldNum))
            {
                if (contFld.ModifiedFlag == true)
                {
                    isModified = true;
                    break;
                }
            }
            return(isModified);
        }