GradeCount.xaml 5.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <Window x:Class="AIRS.GradeCount"
  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:AIRS"
  7. mc:Ignorable="d"
  8. d:DesignHeight="400" d:DesignWidth="460" ResizeMode="NoResize"
  9. Title="评级统计" Height="400" Width="460" WindowStyle="None" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded" Background="#FF18253C" MouseDown="Window_MouseDown">
  10. <Grid >
  11. <Canvas Background="#FFD7D7D7" Margin="0">
  12. <Canvas Canvas.Top="0" Canvas.Left="0" Height="35" Width="460" Background="#FF434E61">
  13. <Label x:Name="lbltitle" Content="" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="White" FontSize="20" FontWeight="Bold"/>
  14. <Image x:Name="imgmin" Source="img\min2.png" Canvas.Left="410" Width="25" Height="25" Canvas.Top="0" ToolTip="最小化" MouseMove="imgmin_MouseMove" />
  15. <Image x:Name="imgclosed" Source="img\closed1.png" Canvas.Left="435" Height="25" Width="25" Canvas.Top="0" ToolTip="关闭" MouseMove="imgclosed_MouseMove"></Image>
  16. <Image x:Name="imgmin1" Source="img\min1.png" Canvas.Left="410" Width="25" Height="25" Canvas.Top="0" ToolTip="最小化" Visibility="Hidden" MouseLeave="imgmin1_MouseLeave" PreviewMouseLeftButtonDown="imgmin1_PreviewMouseLeftButtonDown"/>
  17. <Image x:Name="imgclosed1" Source="img\closedred.png" Canvas.Left="435" Height="25" Width="25" Canvas.Top="0" ToolTip="关闭" Visibility="Hidden" MouseLeave="imgclosed1_MouseLeave" PreviewMouseLeftButtonDown="imgclosed1_PreviewMouseLeftButtonDown"></Image>
  18. </Canvas>
  19. <Canvas Width="460" Height="310" Canvas.Left="0" Canvas.Top="35">
  20. <Label x:Name="ggrade" Content="" Height="37" Canvas.Left="15" Canvas.Top="3" FontSize="20" FontWeight="Bold" Background="{x:Null}"/>
  21. <ScrollViewer Width="460" Height="280" Canvas.Left="0" Canvas.Top="30" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
  22. <Canvas x:Name="canshow" Width="440" Height="310" HorizontalAlignment="Left" VerticalAlignment="Top">
  23. <!--<CheckBox x:Name="chbAll" FontSize="20" Canvas.Left="74" Canvas.Top="58" Background="{x:Null}" Style="{DynamicResource CheckBoxStyle}" Margin="0" Checked="chbAll_Checked" Unchecked="chbAll_Unchecked"/>
  24. <Label Content="" Width="70" Height="37" HorizontalContentAlignment="Center" Canvas.Left="51.5" Canvas.Top="51.5" FontSize="20" FontWeight="Bold" BorderThickness="1" Background="{x:Null}" BorderBrush="Black"/>-->
  25. <Label x:Name="gselect" Content="筛选" Width="70" Height="37" HorizontalContentAlignment="Center" Canvas.Left="15" Canvas.Top="15" FontSize="20" FontWeight="Bold" BorderThickness="1" Background="{x:Null}" BorderBrush="Black"/>
  26. <Label x:Name="gname" Content="评级结果" Width="200" Height="37" HorizontalContentAlignment="Center" Canvas.Left="85" Canvas.Top="15" FontSize="20" FontWeight="Bold" BorderThickness="1" Background="{x:Null}" BorderBrush="Black"/>
  27. <Label x:Name="gcount" Content="图片数量" Width="150" Height="37" HorizontalContentAlignment="Center" Canvas.Left="284" Canvas.Top="15" FontSize="20" FontWeight="Bold" BorderThickness="1" Background="{x:Null}" BorderBrush="Black"/>
  28. </Canvas>
  29. </ScrollViewer>
  30. </Canvas>
  31. <Canvas Canvas.Top="345" Canvas.Left="0" Height="55" Width="460" Background="#FF434E61">
  32. <Button x:Name="BtnExport" Content="导出" HorizontalAlignment="Left" Canvas.Left="20" Canvas.Top="9" VerticalAlignment="Top" Width="138" Height="37" FontSize="20" Foreground="White" Background="#FF169BD5" Click="BtnExport_Click" >
  33. <Button.Template >
  34. <ControlTemplate TargetType="{x:Type Button}" >
  35. <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="7,7,7,7">
  36. <Border.Background>
  37. <Brush>#FF169BD5</Brush>
  38. </Border.Background>
  39. <ContentPresenter Content="{TemplateBinding Content}" HorizontalAlignment="Center" VerticalAlignment="Center" />
  40. </Border>
  41. </ControlTemplate>
  42. </Button.Template>
  43. </Button>
  44. <Button x:Name="BtnLogin" Content="关闭" HorizontalAlignment="Left" Canvas.Left="300" Canvas.Top="9" VerticalAlignment="Top" Width="138" Height="37" FontSize="20" Foreground="White" Background="#FF169BD5" Click="BtnLogin_Click" >
  45. <Button.Template >
  46. <ControlTemplate TargetType="{x:Type Button}" >
  47. <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="7,7,7,7">
  48. <Border.Background>
  49. <Brush>#FF169BD5</Brush>
  50. </Border.Background>
  51. <ContentPresenter Content="{TemplateBinding Content}" HorizontalAlignment="Center" VerticalAlignment="Center" />
  52. </Border>
  53. </ControlTemplate>
  54. </Button.Template>
  55. </Button>
  56. </Canvas>
  57. </Canvas>
  58. </Grid>
  59. </Window>