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