private void about_Click(object sender, RoutedEventArgs e) { Grid mainMenu = (Grid)Parent; mainMenu.Children.Clear(); About_control showAbout = new About_control(); mainMenu.Children.Add(showAbout); }
private void about_Click(object sender, RoutedEventArgs e) { Grid mainMenu = (Grid)Parent; mainMenu.Children.Clear(); window.BackgroundMusic_Control.changeMuteButtonBlack(); About_control showAbout = new About_control(); mainMenu.Children.Add(showAbout); }