12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <Window x:Class="XHWK.WKTool.ScreenRecordingToolbarWindow"
- 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:XHWK.WKTool"
- mc:Ignorable="d"
- Title="ScreenRecordingToolbarWindow" Height="450" Width="300" AllowsTransparency="True"
- ShowInTaskbar="False"
- WindowStartupLocation="CenterOwner"
- WindowStyle="None" Margin="0" Left="0" Top="0">
- <Window.Background>
- <SolidColorBrush Opacity="0" Color="#292C2E" />
- </Window.Background>
- <Viewbox>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="auto"/>
- </Grid.RowDefinitions>
- <!--画笔工具栏-->
- <Grid Grid.Row="0" x:Name="gridToolbar" Visibility="Visible">
- <Image Grid.Row="0" Source="./Images/Toobar22.png" HorizontalAlignment="Right"/>
- <StackPanel Grid.Row="0" Orientation="Vertical" HorizontalAlignment="Right" Margin="0,5,10,0">
- <Button x:Name="btnToolbarDown" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,5,0,0" Click="BtnToolbarDown_Click">
- <Image Source="./Images/Toobar5.png"/>
- </Button>
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,5,0,0">
- <Image Source="./Images/Toobar12.png"/>
- </Button>
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,5,0,0">
- <Image Source="./Images/Toobar9.png"/>
- </Button>
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,5,0,0">
- <Image Source="./Images/Toobar16.png"/>
- </Button>
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,5,0,0">
- <Image Source="./Images/Toobar3.png"/>
- </Button>
- <Button x:Name="btnColour" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,5,0,0" Click="BtnColour_Click">
- <Image Source="./Images/Toobar23.png"/>
- </Button>
- <Button x:Name="btnThickness" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,5,0,0" Click="BtnThickness_Click">
- <Image Source="./Images/Toobar1.png"/>
- </Button>
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,5,0,0">
- <Image Source="./Images/Toobar18.png"/>
- </Button>
- </StackPanel>
- </Grid>
- <!--字体颜色-->
- <Grid Grid.Row="0" x:Name="gridColour" Visibility="Collapsed">
- <Image Source="./Images/Toobar20.png" HorizontalAlignment="Right" Margin="0,200,62,0"/>
- <StackPanel Orientation="Vertical" HorizontalAlignment="Right" Margin="0,215,68,0">
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#FFFFFF" Height="15" Width="15" Margin="0,0,0,0"/>
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#FF0000" Height="15" Width="15" Margin="0,8,0,0"/>
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#A7A9AC" Height="15" Width="15" Margin="0,8,0,0"/>
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#63D600" Height="15" Width="15" Margin="0,8,0,0"/>
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#FFBC00" Height="15" Width="15" Margin="0,8,0,0"/>
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#00B4FC" Height="15" Width="15" Margin="0,8,0,0"/>
- </StackPanel>
- </Grid>
- <!--字体粗细-->
- <Grid Grid.Row="0" x:Name="gridThickness" Visibility="Collapsed">
- <Image Grid.Row="0" Source="./Images/Toobar21.png" HorizontalAlignment="Right" Margin="0,200,62,0"/>
- <StackPanel Grid.Row="0" Orientation="Vertical" HorizontalAlignment="Right" Margin="0,260,62,0">
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#FFFFFF" Height="3" Width="20" Margin="0,0,0,0"/>
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#FFFFFF" Height="5" Width="20" Margin="0,10,0,0"/>
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Background="#FFFFFF" Height="10" Width="20" Margin="0,10,0,0"/>
- </StackPanel>
- </Grid>
-
- <Image Grid.Row="1" Source="./Images/Toobar0.png"/>
- <TextBlock Grid.Row="1" Text="01:35" FontSize="23" Foreground="#FFFFFF" Margin="30,50,0,0"/>
- <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,0,15,0">
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,15,0">
- <Image Source="Images/microLessonSystem_23.png"/>
- </Button>
- <Button x:Name="BtnStopRecordingScreen" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,15,0" Click="BtnStopRecordingScreen_Click">
- <Image Source="./Images/Toobar14.png"/>
- </Button>
- <Button x:Name="btnBrush" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,10,0" Click="BtnBrush_Click">
- <Image Source="./Images/Toobar8.png"/>
- </Button>
- </StackPanel>
- </Grid>
- </Viewbox>
- </Window>
|