代码拉取完成,页面将自动刷新
<Window x:Class="WearMusicTransmitter.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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
mc:Ignorable="d"
Title="WearMusic 音乐传输" Height="394.694" Width="663.627" Icon="ic_launcher_round.png">
<materialDesign:DialogHost
Identifier="RootDialog"
DialogTheme="Inherit"
SnackbarMessageQueue="{Binding ElementName=MainSnackbar, Path=MessageQueue}">
<Grid>
<TextBlock HorizontalAlignment="Left" Margin="32,51,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="25" Width="115" FontSize="16"><Run Text="当前设备:"/><LineBreak/><Run/></TextBlock>
<ComboBox x:Name="cmb_devices" HorizontalAlignment="Left" Margin="152,47,0,0" VerticalAlignment="Top" Width="146" Height="30" FontSize="14"/>
<TextBox x:Name="tb_path" HorizontalAlignment="Left" Height="32" Margin="32,116,0,0" TextWrapping="Wrap" materialDesign:HintAssist.Hint="路径..." VerticalAlignment="Top" Width="434" FontSize="16" CaretBrush="#FF2175F3"/>
<RadioButton x:Name="rb_mp3" Content="音频" HorizontalAlignment="Left" Margin="32,185,0,0" VerticalAlignment="Top" IsChecked="True" Height="26" Width="130"/>
<RadioButton x:Name="rb_lrc" Content="歌词" HorizontalAlignment="Left" Margin="195,185,0,0" VerticalAlignment="Top" Height="26" Width="113"/>
<RadioButton x:Name="rb_jpg" Content="封面" HorizontalAlignment="Left" Margin="347,185,0,0" VerticalAlignment="Top" Height="26" Width="119"/>
<Button x:Name="btn_push" Content="推送" HorizontalAlignment="Left" Margin="522,283,0,0" VerticalAlignment="Top" Width="94" Height="40" Click="btn_push_Click"/>
<Button x:Name="btn_choose" Style="{StaticResource MaterialDesignFloatingActionMiniButton}" HorizontalAlignment="Left" ToolTip="MaterialDesignFloatingActionMiniButton" Margin="535,116,0,156" Height="70" Width="70" RenderTransformOrigin="0.961,-0.088" Click="btn_choose_Click">
<materialDesign:PackIcon Kind="FileEditOutline" Height="30" Width="30" />
</Button>
<TextBlock HorizontalAlignment="Left" Margin="32,246,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="56" Width="276" Text="Tip:请将文件命名为歌曲名--歌手名,并确保同一歌曲的音频、歌词、封面的文件名(即.前面的部分)相同,以便软件识别" Foreground="#FF707070"/>
<materialDesign:Snackbar
x:Name="MainSnackbar"
MessageQueue="{materialDesign:MessageQueue}" />
</Grid>
</materialDesign:DialogHost>
</Window>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。