HistoryDataPage.xaml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <Page x:Class="CCDCountWpf.WpfPage.HistoryDataPage"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:CCDCountWpf.WpfPage"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="HistoryDataPage">
  10. <Grid>
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="*"/>
  13. <RowDefinition Height="60"/>
  14. </Grid.RowDefinitions>
  15. <Border Grid.Row="0" BorderBrush="Black" BorderThickness="1" Margin="2,2,2,2">
  16. <Image x:Name="ShowBox" Source="{Binding HistoryImage}" Margin="0,0,0,0"/>
  17. </Border>
  18. <Border Grid.Row="1" Margin="2,2,2,2" VerticalAlignment="Center" HorizontalAlignment="Center">
  19. <StackPanel Orientation="Horizontal">
  20. <Button x:Name="PreviousBtn" Content="上一张" Height="40" Width="100" Margin="0,0,30,0" Click="PreviousBtn_Click"/>
  21. <Label Content="第" FontSize="20" />
  22. <Label Content="{Binding HistoryImageNum}" FontSize="20" />
  23. <Label Content="张/共" FontSize="20" />
  24. <Label Content="{Binding HistoryImageCount}" FontSize="20" />
  25. <Label Content="张" FontSize="20" Margin="0,0,20,0" />
  26. <Label Content="跳转至" FontSize="20" />
  27. <TextBox x:Name="NowPageNumTbx" Text="{Binding HistoryImageNum}" Height="40" Width="50" FontSize="20" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" />
  28. <Label Content="张" FontSize="20" Margin="0,0,5,0" />
  29. <Button x:Name="SkipBtn" Content="跳转" Height="30" Width="50" Margin="0,0,0,0" Click="SkipBtn_Click" />
  30. <Button x:Name="NextBtn" Content="下一张" Height="40" Width="100" Margin="30,0,0,0" Click="NextBtn_Click" />
  31. </StackPanel>
  32. </Border>
  33. </Grid>
  34. </Page>