Beispiel #1
0
        protected static void GenerateCancelForm(IInputForm form, IEnumerable <Entity> entities, object context)
        {
            IInputFormControl <string> commentControl = form.AddStringControl("Причина", true);

            commentControl.Name       = "Comment";
            commentControl.IsRequired = true;
        }
Beispiel #2
0
        protected static void GenerateDoneForm(IInputForm form, IEnumerable <Entity> entities, object context)
        {
            IInputFormControl <string> commentControl = form.AddStringControl("Комментарий", true);

            commentControl.Name = "Comment";
        }