예제 #1
0
        /// <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;
            }
        }
예제 #2
0
        /// <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;
            }
        }