Beispiel #1
0
 public Lose()
 {
     InitializeComponent();
     this.Opacity = Class1.brightness / 1850;                        //Brightness
     Lose1.Volume = Class1.Volume;                                   //Volume Of Music
     Lose1.Play();                                                   //Music Play
 }
Beispiel #2
0
 private void media_MediaEnded(object sender, RoutedEventArgs e)
 {
     Lose1.Stop();                                               //Restart Music
     Lose1.Play();                                               //Restart Music
 }