PageRenderTime 16ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Settings Migrator Tester/MainWindow.xaml

http://yet-another-music-application.googlecode.com/
XAML | 40 lines | 20 code | 0 blank | 20 comment | 0 complexity | eab2a8dbbd45b290e8ca2690fd231f42 MD5 | raw file
 1<!--MainWindow.xaml
 2	
 3    The main window of the migration tester.
 4    It is used to test the Settings Migrator by providing
 5    an interface for loading and migrating settings files.
 6	
 7	= = = = = = = = = =
 8	
 9	Copyright 2012 Simplare
10	
11	This code is part of the Stoffi Music Player Project.
12	Visit our website at: stoffiplayer.com
13	
14	This program is free software; you can redistribute it and/or
15	modify it under the terms of the GNU General Public License
16	as published by the Free Software Foundation; either version
17	3 of the License, or (at your option) any later version.
18	
19	See stoffiplayer.com/license for more information.
20	-->
21<Window x:Class="Stoffi.MainWindow"
22        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
23        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
24        Title="MainWindow" Height="200" Width="500">
25    <Grid Margin="10">
26		<Grid.ColumnDefinitions>
27			<ColumnDefinition Width="*"/>
28		</Grid.ColumnDefinitions>
29		<Grid.RowDefinitions>
30			<RowDefinition Height="Auto"/>
31			<RowDefinition Height="Auto"/>
32			<RowDefinition Height="Auto"/>
33			<RowDefinition Height="Auto"/>
34		</Grid.RowDefinitions>
35		<Button Grid.Column="0" Grid.Row="0" Content="Load settings file" Width="100" HorizontalAlignment="Center" Name="LoadSettings" Click="LoadSettings_Click"/>
36		<Label Grid.Column="0" Grid.Row="1" Content="Settings file:" HorizontalAlignment="Center"/>
37		<Label Grid.Column="0" Grid.Row="2" Content="" HorizontalAlignment="Center" Name="SettingsFileLabel"/>
38		<Button Grid.Column="0" Grid.Row="3" Content="Migrate Settings" Width="100" Name="Migrate" Click="Migrate_Click"/>
39	</Grid>
40</Window>