예제 #1
0
        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();
        }
예제 #2
0
 public PlayMessage(BellSound sound)
 {
     BellSound = sound;
 }
예제 #3
0
 private void SetBellSound(BellSound value)
 {
     Windows.Storage.ApplicationData.Current.LocalSettings.Values[BELL_SOUND_STORAGE] = (int)value;
 }
예제 #4
0
 public PlayMessage(BellSound sound)
 {
     BellSound = sound;
 }
예제 #5
0
 private void BellSound_MediaEnded(object sender, RoutedEventArgs e)
 {
     BellSound.Stop();
 }
예제 #6
0
 private void SetBellSound(BellSound value)
 {
     Windows.Storage.ApplicationData.Current.LocalSettings.Values[BELL_SOUND_STORAGE] = (int)value;
 }