C#, WPF

naudio

MainWindow.xaml

<Window x:Class="WpfApp25.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfApp25"
        mc:Ignorable="d"
        Title="MainWindow" Height="142" Width="404">
    <Grid>
        <TextBox x:Name="txtFilePath" Margin="40,10,46,73"/>
        <Button Content="再生" Margin="100,60,96,21" Click="Button_Click"/>
    </Grid>
</Window>