Пример #1
0
        public MenuOption(string image, RelayCommand command, int numOptions, MenuRecognizer menuRecognizer)
        {
            this.Image          = image;
            this.Command        = command;
            this.NumOptions     = numOptions;
            this.MenuRecognizer = menuRecognizer;

            MenuRecognizer.PropertyChanged += OnPercentDepressedChanged;
        }
Пример #2
0
        public MenuOption(string image, RelayCommand command, int numOptions, MenuRecognizer menuRecognizer)
        {
            this.Image = image;
            this.Command = command;
            this.NumOptions = numOptions;
            this.MenuRecognizer = menuRecognizer;

            MenuRecognizer.PropertyChanged += OnPercentDepressedChanged;
        }