private void OnMenuItemCommandExecute(ScreenMenuItem screenMenuItem)
        {
            decimal selectedMultiplier = 1;

            if (!string.IsNullOrEmpty(NumeratorValue) && !_filtered)
            {
                decimal.TryParse(NumeratorValue, out selectedMultiplier);
            }

            if (IsQuickNumeratorVisible)
            {
                NumeratorValue = QuickNumeratorValues[0] != "1" ? QuickNumeratorValues[0] : "";
            }
            if (IsNumberpadEditorVisible)
            {
                NumeratorValue = "";
            }

            if (selectedMultiplier > 0)
            {
                var data = new ScreenMenuItemData {
                    ScreenMenuItem = screenMenuItem, Quantity = selectedMultiplier
                };
                if (data.Quantity == 1 && screenMenuItem.Quantity > 1)
                {
                    data.Quantity = screenMenuItem.Quantity;
                }
                SelectedMenuItems.Add(data);
                data.PublishEvent(EventTopicNames.ScreenMenuItemDataSelected);
            }
        }
        private void OnEvent(EventParameters <EventAggregator> obj)
        {
            switch (obj.Topic)
            {
            case EventTopicNames.ResetNumerator:
                NumeratorValue = "";
                break;

            case EventTopicNames.ActivateMenuView:
                SelectedMenuItems.Clear();
                break;
            }
        }