星火直播PC
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

RollCallPerfectionWindow.xaml 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <Window x:Class="XHZB.Desktop.RollCallPerfectionWindow"
  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:local="clr-namespace:XHZB.Desktop"
  7. mc:Ignorable="d"
  8. Title="RollCallPerfectionWindow" Width="1280"
  9. Height="800"
  10. AllowsTransparency="True"
  11. Opacity="1"
  12. ShowInTaskbar="False"
  13. WindowStyle="None">
  14. <Window.Background>
  15. <SolidColorBrush Opacity="1" ></SolidColorBrush>
  16. </Window.Background>
  17. <Viewbox>
  18. <Grid>
  19. <Border Opacity="0.6" Background="#000000" Height="1080" Width="1920" />
  20. <StackPanel>
  21. <Image Source=".\Images\RollCall\rollCall_0_1_1.png" Height="665" Width="671" Margin="0,180,0,0" />
  22. </StackPanel>
  23. <Image Source=".\Images\RollCall\rollCall_2_1.png" Height="auto" Width="332" Margin="0,140,0,0" />
  24. <TextBlock x:Name="txbName" Text="" FontSize="40" Foreground="White" HorizontalAlignment="Center" Margin="0,570,0,0" />
  25. <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">
  26. <Button.Template>
  27. <ControlTemplate TargetType="{x:Type Button}">
  28. <Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="27,27,27,27">
  29. <Border.Background>#FD790C</Border.Background>
  30. <ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
  31. </Border>
  32. </ControlTemplate>
  33. </Button.Template>
  34. </Button>
  35. <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">
  36. <Button.Template>
  37. <ControlTemplate TargetType="{x:Type Button}">
  38. <Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="27,27,27,27">
  39. <Border.Background>#6098FF</Border.Background>
  40. <ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
  41. </Border>
  42. </ControlTemplate>
  43. </Button.Template>
  44. </Button>
  45. </Grid>
  46. </Viewbox>
  47. </Window>