Ejemplo n.º 1
0
 public void SetCommand(HighlightOpacityCommand command)
 {
     this._command = command;
     this.Status = this._command.GetStatus();
 }
Ejemplo n.º 2
0
        private void SetHighlightOpacityCommand(bool isChecked, HighlightOpacityCommand command)
        {
            _logger.Debug("SetHighlightOpacityCommand to [{0}]", command.GetStatus());
            this._highlightOpacityControl.SetCommand(command);
            this._highlightOpacityControl.SwitchHighlightOpacity();

            if (isChecked)
            {
                DisplayImage();
            }
        }