Exemple #1
0
 // Mute sync: ************************************************************
 private void OnMuteChanged(MuteChangedArgs e)
 {
     if (MuteChanged != null)
         MuteChanged(this, e);
 }
Exemple #2
0
 void m_spokes_MuteChanged(object sender, MuteChangedArgs e)
 {
     if (m_muted != e.m_muteon)
         OnPltEvent(new PltEventArgs(e.m_muteon ? PltEventType.Muted : PltEventType.UnMuted));
     m_muted = e.m_muteon;
 }
Exemple #3
0
 static void spokes_MuteChanged(object sender, MuteChangedArgs e)
 {
     Console.WriteLine("MuteChanged, sending message to Client App via socket...");
     if (socket == null)
     {
         Console.WriteLine("INFO: No client connected.");
         return;
     }
     socket.sendMsg("MuteChanged,"+e.m_muteon);
 }
Exemple #4
0
        void spokes_DeviceMuteChanged(object sender, MuteChangedArgs e)
        {
            LogMessage(MethodInfo.GetCurrentMethod().Name, ">>> Device mute = " + e.m_muteon);
            UpdateDeviceStatusGUIItem(muteStateLbl, e.m_muteon ? "Muted" : "Not Muted");
            UpdateDevicePictureBox(muteStatePictureBox,
                e.m_muteon ? Properties.Resources.mute_muted : Properties.Resources.mute_notMuted);

            AnimateBackgroundColor(muteStatePictureBox, Color.FromArgb(0, 51, 102));
        }
Exemple #5
0
 private void OnMuteChanged(object sender, MuteChangedArgs e)
 {
     _traceContext.Status(String.Format("DeviceManager.OnMuteChanged {0}", e.m_muteon));
     if (MuteChanged != null)
     {
         MuteChanged(this, e);
     }
 }