public void BellHandler(int pos) { eWObstacles_textboxBell[bellOrder].Text = studentList[pos].Name; eWObstacles_textboxBorderBell[bellOrder].Visibility = Visibility.Visible; bellOrder++; textboxBell[pos].Text = bellOrder.ToString(); textboxBell[pos].Visibility = Visibility.Visible; BellSound.Stop(); BellSound.Play(); }
public PlayMessage(BellSound sound) { BellSound = sound; }
private void SetBellSound(BellSound value) { Windows.Storage.ApplicationData.Current.LocalSettings.Values[BELL_SOUND_STORAGE] = (int)value; }
private void BellSound_MediaEnded(object sender, RoutedEventArgs e) { BellSound.Stop(); }