/// <summary> /// Sets the attack sound of the character when you click the button. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void AttackSoundEffectButton_Click(object sender, RoutedEventArgs e) { string aux = openFileManager.SetTextBoxPathFromFile(AttackSoundEffectTextBox); if (aux != null) { attackSoundEffect = aux; } }
/// <summary> /// Sets the stage's music when you click the button. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void StageMusicButton_Click(object sender, RoutedEventArgs e) { string aux = openFileManager.SetTextBoxPathFromFile(StageMusicText); if (aux != null) { music = aux; } }