Пример #1
0
        private void ImageMouseRightButtonDown(object sender, MouseButtonEventArgs e)
        {
            SliderReceiver sliderReceiver = new SliderReceiver();

            RMCCommand = new RMCCommand(sliderReceiver);
            Data data = RMCCommand.Execute();

            // для работы с UI
            image.Source             = data.bi;
            txtBoxwithCommands.Text += data.str;
        }
Пример #2
0
 public LMCCommand(SliderReceiver sliderReceiver)
 {
     _sliderReceiver = sliderReceiver;
 }