private void btnJingle2_Click(object sender, EventArgs e) { if (busylight != null) { Busylight.BusylightVolume vol = (Busylight.BusylightVolume)tbVolume.Value; busylight.Jingle(Busylight.BusylightColor.Yellow, Busylight.BusylightJingleClip.IM2, vol); } }
// Blau blinken, kein Sound internal void btnBlueBlinkingWithoutSound_Click(object sender, EventArgs e) { // Statt "vol", wird der Wert 0 zugewiesen (Mute) Busylight.BusylightVolume vol = (Busylight.BusylightVolume)tbVolume.Value; busylight.Alert(Busylight.BusylightColor.Blue, Busylight.BusylightSoundClip.KuandoTrain, 0); }
// Gelb blinken, mit Sound internal void btnYellowBlinkingWithSound_Click(object sender, EventArgs e) { Busylight.BusylightVolume vol = (Busylight.BusylightVolume)tbVolume.Value; busylight.Alert(Busylight.BusylightColor.Yellow, Busylight.BusylightSoundClip.KuandoTrain, vol); }