示例#1
0
 private void OnPropertyChanged(PropertyChangedMessageBase message)
 {
     if (message.PropertyName == "IsInPlayingMode")
     {
         IsInPlayingMode = _engine.GraphState != GraphState.Reset;
         UpdateMenu();
     }
 }
示例#2
0
 private void OnPropertyChanged(PropertyChangedMessageBase message)
 {
     if (message.Sender != this)
     {
         if (message.PropertyName == "IsFullScreen")
         {
             FlipFullScreen(false);
         }
     }
 }
 private void OnPropertyChanged(PropertyChangedMessageBase message)
 {
     if (message.Sender != this)
     {
         if (message.PropertyName == "IsFullScreen")
         {
             FlipFullScreen(false);
         }
         else if (message.PropertyName == "IsRepeat")
         {
             IsRepeat = !IsRepeat;
         }
         else if (message.PropertyName == "IsMute")
         {
             IsMute = !IsMute;
         }
     }
 }
示例#4
0
        private void OnPropertyChanged(PropertyChangedMessageBase message)
        {
            if (message.Sender != this)
            {
                var booleanNotificationMessage = message as PropertyChangedMessage <bool>;

                if (booleanNotificationMessage != null)
                {
                    if (booleanNotificationMessage.PropertyName == "IsFullScreen")
                    {
                        IsFullScreen = booleanNotificationMessage.NewValue;
                    }
                    else if (booleanNotificationMessage.PropertyName == "IsControlPanelVisible")
                    {
                        IsControlPanelVisible = booleanNotificationMessage.NewValue;
                    }
                    else if (booleanNotificationMessage.PropertyName == "IsInPlayingMode")
                    {
                        IsInPlayingMode = booleanNotificationMessage.NewValue;
                    }
                }
            }
        }
示例#5
0
 public void OnPropertyChangedMessageBase(PropertyChangedMessageBase message)
 {
     TLCGenControllerDataProvider.Default.ControllerHasChanged = true;
 }