コード例 #1
0
        void volumeRotaryControl_muteStateChangedSink(RaumfeldNET.WPFControls.RotaryVolumeControl _control, bool _newValue)
        {
            Object objContext = this.getContextObjectFromDataContext(_control.DataContext);

            if (objContext == null)
            {
                return;
            }
            this.setMuteForContext(objContext, _newValue);
        }
コード例 #2
0
        void volumeRotaryControl_valueChangedTimeStepSink(RaumfeldNET.WPFControls.RotaryVolumeControl _control, uint _newValue)
        {
            Object objContext = this.getContextObjectFromDataContext(_control.DataContext);

            if (objContext == null)
            {
                return;
            }
            this.setVolumeForContext(objContext, _newValue);
        }