1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <Window x:Class="AIRS.GradeCount"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:AIRS"
- mc:Ignorable="d"
- d:DesignHeight="400" d:DesignWidth="460" ResizeMode="NoResize"
- Title="评级统计" Height="400" Width="460" WindowStyle="None" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded" Background="#FF18253C" MouseDown="Window_MouseDown">
- <Grid >
- <Canvas Background="#FFD7D7D7" Margin="0">
- <Canvas Canvas.Top="0" Canvas.Left="0" Height="35" Width="460" Background="#FF434E61">
- <Label x:Name="lbltitle" Content="" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="White" FontSize="20" FontWeight="Bold"/>
- <Image x:Name="imgmin" Source="img\min2.png" Canvas.Left="410" Width="25" Height="25" Canvas.Top="0" ToolTip="最小化" MouseMove="imgmin_MouseMove" />
- <Image x:Name="imgclosed" Source="img\closed1.png" Canvas.Left="435" Height="25" Width="25" Canvas.Top="0" ToolTip="关闭" MouseMove="imgclosed_MouseMove"></Image>
- <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"/>
- <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>
- </Canvas>
- <Canvas Width="460" Height="310" Canvas.Left="0" Canvas.Top="35">
- <Label x:Name="ggrade" Content="" Height="37" Canvas.Left="15" Canvas.Top="3" FontSize="20" FontWeight="Bold" Background="{x:Null}"/>
- <ScrollViewer Width="460" Height="280" Canvas.Left="0" Canvas.Top="30" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
- <Canvas x:Name="canshow" Width="440" Height="310" HorizontalAlignment="Left" VerticalAlignment="Top">
- <!--<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"/>
- <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"/>-->
- <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"/>
- <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"/>
- <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"/>
- </Canvas>
- </ScrollViewer>
- </Canvas>
- <Canvas Canvas.Top="345" Canvas.Left="0" Height="55" Width="460" Background="#FF434E61">
- <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" >
- <Button.Template >
- <ControlTemplate TargetType="{x:Type Button}" >
- <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="7,7,7,7">
- <Border.Background>
- <Brush>#FF169BD5</Brush>
- </Border.Background>
- <ContentPresenter Content="{TemplateBinding Content}" HorizontalAlignment="Center" VerticalAlignment="Center" />
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- <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" >
- <Button.Template >
- <ControlTemplate TargetType="{x:Type Button}" >
- <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="7,7,7,7">
- <Border.Background>
- <Brush>#FF169BD5</Brush>
- </Border.Background>
- <ContentPresenter Content="{TemplateBinding Content}" HorizontalAlignment="Center" VerticalAlignment="Center" />
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- </Canvas>
- </Canvas>
- </Grid>
- </Window>
|