/Application/GUI/Windows/Welcome.xaml
http://yet-another-music-application.googlecode.com/ · XAML · 52 lines · 36 code · 0 blank · 16 comment · 0 complexity · 950faeff93a709551f417db65e68ed50 MD5 · raw file
- <!--Welcome.xaml
-
- The welcome window that (maybe) is shown during the first startup.
-
- = = = = = = = = = =
-
- This code is part of the Stoffi Music Player Project.
- Visit our website at: stoffiplayer.com
-
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- as published by the Free Software Foundation; either version
- 3 of the License, or (at your option) any later version.
-
- See stoffiplayer.com/license for more information.
- -->
- <Window x:Class="Stoffi.Welcome"
- Name="WelcomeWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Title="Stoffi Player - Welcome" Height="400" Width="600" ShowInTaskbar="False" Topmost="True"
- WindowStartupLocation="CenterScreen" WindowStyle="ThreeDBorderWindow"
- Loaded="Welcome_Loaded">
- <DockPanel LastChildFill="True">
- <TextBlock Margin="5" DockPanel.Dock="Top">
- Hi!
- <LineBreak/>
- <LineBreak/>
- I can't seem to find your music. Maybe you can help me locate it?
- <LineBreak/>
- Just add all your music folders to the list and click on 'OK'.
- </TextBlock>
- <StackPanel Orientation="Horizontal" DockPanel.Dock="Top">
- <Button Width="70" Name="AddFolder" Click="AddFolder_SourceClick" HorizontalAlignment="Center" Margin="5">Add Folder</Button>
- <Button Width="70" Name="AddFile" Click="AddFile_SourceClick" HorizontalAlignment="Center" Margin="5">Add File</Button>
- </StackPanel>
- <Button Width="80" Name="OK" DockPanel.Dock="Bottom" Click="OK_Click" IsDefault="True" HorizontalAlignment="Right" Margin="5">OK</Button>
- <ListView Margin="5" x:Name="SourceList" DockPanel.Dock="Top">
- <ListView.View>
- <GridView>
- <GridViewColumn DisplayMemberBinding="{Binding Type}" Header="Type" Width="100"/>
- <GridViewColumn DisplayMemberBinding="{Binding Data}" Header="Location" Width="500"/>
- </GridView>
- </ListView.View>
- <ListView.ContextMenu>
- <ContextMenu>
- <MenuItem Name="Remove" Header="Remove" Click="Remove_SourceClick"/>
- </ContextMenu>
- </ListView.ContextMenu>
- </ListView>
- </DockPanel>
- </Window>