Inheritance: Gablarski.Audio.AudioSourceEventArgs
コード例 #1
0
        protected virtual void OnAudioSourceMuted(AudioSourceMutedEventArgs e)
        {
            var muted = this.AudioSourceMuted;

            if (muted != null)
            {
                muted(this, e);
            }
        }
コード例 #2
0
 protected virtual void OnAudioSourceMuted(AudioSourceMutedEventArgs e)
 {
     var muted = this.AudioSourceMuted;
     if (muted != null)
         muted (this, e);
 }
コード例 #3
0
ファイル: UserTreeView.cs プロジェクト: ermau/Gablarski
		private void OnSourceMuted (object sender, AudioSourceMutedEventArgs e)
		{
			if (!e.Unmuted)
				MarkMuted (e.Source);
			else
				MarkSilent (e.Source);

			SetupUserContext (userNodes[this.client.Users[e.Source.OwnerId]]);
		}