/Application/GUI/Windows/Welcome.xaml
XAML | 52 lines | 36 code | 0 blank | 16 comment | 0 complexity | 950faeff93a709551f417db65e68ed50 MD5 | raw file
1<!--Welcome.xaml 2 3 The welcome window that (maybe) is shown during the first startup. 4 5 = = = = = = = = = = 6 7 This code is part of the Stoffi Music Player Project. 8 Visit our website at: stoffiplayer.com 9 10 This program is free software; you can redistribute it and/or 11 modify it under the terms of the GNU General Public License 12 as published by the Free Software Foundation; either version 13 3 of the License, or (at your option) any later version. 14 15 See stoffiplayer.com/license for more information. 16 --> 17<Window x:Class="Stoffi.Welcome" 18 Name="WelcomeWindow" 19 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 20 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 21 Title="Stoffi Player - Welcome" Height="400" Width="600" ShowInTaskbar="False" Topmost="True" 22 WindowStartupLocation="CenterScreen" WindowStyle="ThreeDBorderWindow" 23 Loaded="Welcome_Loaded"> 24 <DockPanel LastChildFill="True"> 25 <TextBlock Margin="5" DockPanel.Dock="Top"> 26 Hi! 27 <LineBreak/> 28 <LineBreak/> 29 I can't seem to find your music. Maybe you can help me locate it? 30 <LineBreak/> 31 Just add all your music folders to the list and click on 'OK'. 32 </TextBlock> 33 <StackPanel Orientation="Horizontal" DockPanel.Dock="Top"> 34 <Button Width="70" Name="AddFolder" Click="AddFolder_SourceClick" HorizontalAlignment="Center" Margin="5">Add Folder</Button> 35 <Button Width="70" Name="AddFile" Click="AddFile_SourceClick" HorizontalAlignment="Center" Margin="5">Add File</Button> 36 </StackPanel> 37 <Button Width="80" Name="OK" DockPanel.Dock="Bottom" Click="OK_Click" IsDefault="True" HorizontalAlignment="Right" Margin="5">OK</Button> 38 <ListView Margin="5" x:Name="SourceList" DockPanel.Dock="Top"> 39 <ListView.View> 40 <GridView> 41 <GridViewColumn DisplayMemberBinding="{Binding Type}" Header="Type" Width="100"/> 42 <GridViewColumn DisplayMemberBinding="{Binding Data}" Header="Location" Width="500"/> 43 </GridView> 44 </ListView.View> 45 <ListView.ContextMenu> 46 <ContextMenu> 47 <MenuItem Name="Remove" Header="Remove" Click="Remove_SourceClick"/> 48 </ContextMenu> 49 </ListView.ContextMenu> 50 </ListView> 51 </DockPanel> 52</Window>