LocationForm.xaml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <wpf:ThemableWindow x:Class="PRSDesktop.Forms.LocationForm"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:wpf="clr-namespace:InABox.Wpf;assembly=InABox.Wpf"
  7. mc:Ignorable="d"
  8. Title="Item Location" Height="211.2" Width="463.2">
  9. <Grid>
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition Width="90" />
  12. <ColumnDefinition Width="*" />
  13. <ColumnDefinition Width="100" />
  14. <ColumnDefinition Width="50" />
  15. <ColumnDefinition Width="50" />
  16. </Grid.ColumnDefinitions>
  17. <Grid.RowDefinitions>
  18. <RowDefinition Height="*" />
  19. <RowDefinition Height="*" />
  20. <RowDefinition Height="*" />
  21. <RowDefinition Height="45" />
  22. </Grid.RowDefinitions>
  23. <Label Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10"
  24. Content="Address:" />
  25. <TextBox Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="3" VerticalAlignment="Center"
  26. HorizontalAlignment="Stretch" VerticalContentAlignment="Center" Margin="10" Height="25"
  27. x:Name="Address" />
  28. <Button Grid.Row="0" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="10"
  29. Height="25" x:Name="LookupButton" Content=".." />
  30. <Label Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10"
  31. Content="Latitude:" />
  32. <TextBox Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Stretch" Margin="10"
  33. Height="25" x:Name="Latitude" VerticalContentAlignment="Center" />
  34. <Label Grid.Row="2" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10"
  35. Content="Longitude:" />
  36. <TextBox Grid.Row="2" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Stretch" Margin="10"
  37. Height="25" x:Name="Longitude" VerticalContentAlignment="Center" />
  38. <Button Grid.Row="3" Grid.Column="2" Margin="10" Content="OK" x:Name="OKButton" Click="OKButton_Click" />
  39. <Button Grid.Row="3" Grid.Column="3" Grid.ColumnSpan="2" Margin="10" Content="Cancel" x:Name="CancelButton"
  40. Click="CancelButton_Click" />
  41. </Grid>
  42. </wpf:ThemableWindow>