private void _showapplicationsform_ShowCustomForm(object sender, ShowCustomFormEventArgs e)
 {
     if (this._applications.Value != null)
     {
         e.Model.Fields["APPLICATIONSDELIMITED"].ValueObject = (object)this._applications.Value;
     }
 }
        public new void _selectrevenuefilters_InvokeAction(object sender, ShowCustomFormEventArgs e)
        {
            // collection of payment method indicator
            CollectionField <MultiSelectFormCOLLECTIONITEMSUIModel> revenueFilters = ((MultiSelectFormUIModel)e.Model).COLLECTIONITEMS;

            // enumerator for payment methods
            IEnumerator <ValueListItem <System.String> > enumerator;

            enumerator = this.REVENUEFILTERS.DefaultItem.REVENUEFILTER.DataSource.GetEnumerator();
            try
            {
                while (enumerator.MoveNext())
                {
                    var current = enumerator.Current;
                    if (current.Visible)
                    {
                        revenueFilters.Value.Add(new MultiSelectFormCOLLECTIONITEMSUIModel()
                        {
                            COLLECTIONITEM =
                            {
                                Value = current.Translation
                            },
                            SELECTED =
                            {
                                //Value = this.TransactionTypeIsSelected((MultiSelectParametersTRANSACTIONTYPESUIModel.TRANSACTIONTYPES)current.Value)
                                Value = true
                            }
                        });
                    }
                }
            }
            finally
            {
                if (enumerator != null)
                {
                    enumerator.Dispose();
                }
            }
        }