Example #1
0
        public override void afterPropertySetPopulateProps()
        {
            foreach (CswNbtNodePropWrapper PropWrapper in Node.Properties[(CswEnumNbtFieldType)CswEnumNbtFieldType.Question])
            {
                CswNbtNodePropQuestion QuestionProp = PropWrapper;
                QuestionProp.IsActionRequired = (Status.Value == CswEnumNbtInspectionStatus.ActionRequired);   // case 25035
            }

            Finish.SetOnBeforeRender(hideButtonProp);
            Cancel.SetOnBeforeRender(hideButtonProp);
            SetPreferred.SetOnBeforeRender(hideButtonProp);

            Generator.SetOnPropChange(OnGeneratorChange);
            IsFuture.SetOnPropChange(OnIsFutureChange);
            Status.SetOnPropChange(OnStatusPropChange);
        } //afterPopulateProps()