星火微课系统客户端
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

ScreenRecordingToolbarWindow.xaml 6.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <Window x:Class="XHWK.WKTool.ScreenRecordingToolbarWindow"
  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:XHWK.WKTool"
  7. mc:Ignorable="d"
  8. Title="ScreenRecordingToolbarWindow" Height="450" Width="300" AllowsTransparency="True"
  9. ShowInTaskbar="False"
  10. WindowStartupLocation="CenterOwner"
  11. WindowStyle="None" Margin="0" Left="0" Top="0">
  12. <Window.Background>
  13. <SolidColorBrush Opacity="0" Color="#292C2E" />
  14. </Window.Background>
  15. <Viewbox>
  16. <Grid>
  17. <Grid.RowDefinitions>
  18. <RowDefinition Height="auto"/>
  19. <RowDefinition Height="auto"/>
  20. </Grid.RowDefinitions>
  21. <!--画笔工具栏-->
  22. <Grid Grid.Row="0" x:Name="gridToolbar" Visibility="Visible">
  23. <Image Grid.Row="0" Source="./Images/Toobar22.png" HorizontalAlignment="Right"/>
  24. <StackPanel Grid.Row="0" Orientation="Vertical" HorizontalAlignment="Right" Margin="0,5,10,0">
  25. <Button Cursor="Hand" x:Name="btnToolbarDown" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,5,0,0" Click="BtnToolbarDown_Click">
  26. <Image Source="./Images/Toobar5.png"/>
  27. </Button>
  28. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,5,0,0">
  29. <Image Source="./Images/Toobar12.png"/>
  30. </Button>
  31. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,5,0,0">
  32. <Image Source="./Images/Toobar9.png"/>
  33. </Button>
  34. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,5,0,0">
  35. <Image Source="./Images/Toobar16.png"/>
  36. </Button>
  37. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,5,0,0">
  38. <Image Source="./Images/Toobar3.png"/>
  39. </Button>
  40. <Button Cursor="Hand" x:Name="btnColour" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,5,0,0" Click="BtnColour_Click">
  41. <Image Source="./Images/Toobar23.png"/>
  42. </Button>
  43. <Button Cursor="Hand" x:Name="btnThickness" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,5,0,0" Click="BtnThickness_Click">
  44. <Image Source="./Images/Toobar1.png"/>
  45. </Button>
  46. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,5,0,0">
  47. <Image Source="./Images/Toobar18.png"/>
  48. </Button>
  49. </StackPanel>
  50. </Grid>
  51. <!--字体颜色-->
  52. <Grid Grid.Row="0" x:Name="gridColour" Visibility="Collapsed">
  53. <Image Source="./Images/Toobar20.png" HorizontalAlignment="Right" Margin="0,200,62,0"/>
  54. <StackPanel Orientation="Vertical" HorizontalAlignment="Right" Margin="0,215,68,0">
  55. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#FFFFFF" Height="15" Width="15" Margin="0,0,0,0"/>
  56. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#FF0000" Height="15" Width="15" Margin="0,8,0,0"/>
  57. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#A7A9AC" Height="15" Width="15" Margin="0,8,0,0"/>
  58. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#63D600" Height="15" Width="15" Margin="0,8,0,0"/>
  59. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#FFBC00" Height="15" Width="15" Margin="0,8,0,0"/>
  60. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#00B4FC" Height="15" Width="15" Margin="0,8,0,0"/>
  61. </StackPanel>
  62. </Grid>
  63. <!--字体粗细-->
  64. <Grid Grid.Row="0" x:Name="gridThickness" Visibility="Collapsed">
  65. <Image Grid.Row="0" Source="./Images/Toobar21.png" HorizontalAlignment="Right" Margin="0,200,62,0"/>
  66. <StackPanel Grid.Row="0" Orientation="Vertical" HorizontalAlignment="Right" Margin="0,260,62,0">
  67. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#FFFFFF" Height="3" Width="20" Margin="0,0,0,0"/>
  68. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#FFFFFF" Height="5" Width="20" Margin="0,10,0,0"/>
  69. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#FFFFFF" Height="10" Width="20" Margin="0,10,0,0"/>
  70. </StackPanel>
  71. </Grid>
  72. <Image Grid.Row="1" Source="./Images/Toobar0.png"/>
  73. <TextBlock Grid.Row="1" Text="01:35" FontSize="23" Foreground="#FFFFFF" Margin="30,50,0,0"/>
  74. <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,0,15,0">
  75. <Button x:Name="BtnRecordingScreen" Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,15,0" Click="BtnRecordingScreen_Click">
  76. <Image Source="./Images/Toobar25.png"/>
  77. </Button>
  78. <Button x:Name="BtnStopRecordingScreen" Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,15,0" Click="BtnStopRecordingScreen_Click">
  79. <Image Source="./Images/Toobar14.png"/>
  80. </Button>
  81. <Button Cursor="Hand" x:Name="btnBrush" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,10,0" Click="BtnBrush_Click">
  82. <Image Source="./Images/Toobar8.png"/>
  83. </Button>
  84. </StackPanel>
  85. </Grid>
  86. </Viewbox>
  87. </Window>