public new void _selecttransactiontypes_CustomFormConfirmed(object sender, CustomFormConfirmedEventArgs e) { CollectionField <MultiSelectFormCOLLECTIONITEMSUIModel> transactionTypes = ((MultiSelectFormUIModel)e.Model).COLLECTIONITEMS; UIModelCollection <MultiSelectParametersTRANSACTIONTYPESUIModel> uiModelCollection = this.TRANSACTIONTYPES.Value; ValueListItemCollection <MultiSelectParametersTRANSACTIONTYPESUIModel.TRANSACTIONTYPES?> dataSource = this.TRANSACTIONTYPES.DefaultItem.TRANSACTIONTYPE.DataSource; uiModelCollection.Clear(); int num1 = 0; int num2 = checked (transactionTypes.Value.Count - 1); int index = num1; while (index <= num2) { if (transactionTypes.Value[index].SELECTED.Value) { uiModelCollection.Add(new MultiSelectParametersTRANSACTIONTYPESUIModel() { TRANSACTIONTYPE = { Value = dataSource[index].Value } }); } checked { ++index; } } }
private void _showapplicationsform_CustomFormConfirmed(object sender, CustomFormConfirmedEventArgs e) { this._applications.Value = (string)e.Model.Fields["APPLICATIONSDELIMITED"].ValueObject; }