123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <Window x:Class="XHZB.Desktop.RollCallPerfectionWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:XHZB.Desktop"
- mc:Ignorable="d"
- Title="RollCallPerfectionWindow" Width="1280"
- Height="800"
- AllowsTransparency="True"
-
- Opacity="1"
- ShowInTaskbar="False"
- WindowStyle="None">
- <Window.Background>
- <SolidColorBrush Opacity="1" ></SolidColorBrush>
- </Window.Background>
- <Viewbox>
- <Grid>
- <Border Opacity="0.6" Background="#000000" Height="1080" Width="1920" />
- <StackPanel>
- <Image Source=".\Images\RollCall\rollCall_0_1_1.png" Height="665" Width="671" Margin="0,180,0,0" />
- </StackPanel>
- <Image Source=".\Images\RollCall\rollCall_2_1.png" Height="auto" Width="332" Margin="0,140,0,0" />
- <TextBlock x:Name="txbName" Text="" FontSize="40" Foreground="White" HorizontalAlignment="Center" Margin="0,570,0,0" />
- <Button Cursor="Hand" x:Name="btnNewRollCall" FontWeight="Black" Content="重新点名" Foreground="White" FontSize="26" Width="200" Height="55" Click="btnNewRollCall_Click" Margin="0,338,280,0">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="27,27,27,27">
- <Border.Background>#FD790C</Border.Background>
- <ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- <Button Cursor="Hand" x:Name="btnEnd" FontWeight="Black" Content="结束点名" Foreground="White" FontSize="26" Width="200" Height="55" Click="btnEnd_Click" Margin="280,338,0,0">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="27,27,27,27">
- <Border.Background>#6098FF</Border.Background>
- <ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- </Grid>
- </Viewbox>
- </Window>
|