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