7815 lines
791 KiB
XML
7815 lines
791 KiB
XML
<Window Name="window" x:Class="Ink_Canvas.MainWindow"
|
||
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:ui="http://schemas.inkore.net/lib/ui/wpf/modern"
|
||
xmlns:c="clr-namespace:Ink_Canvas.Converter"
|
||
xmlns:Controls="http://schemas.microsoft.com/netfx/2009/xaml/presentation"
|
||
mc:Ignorable="d"
|
||
AllowsTransparency="True"
|
||
WindowStyle="None"
|
||
ResizeMode="NoResize"
|
||
WindowState="Maximized"
|
||
Loaded="Window_Loaded"
|
||
Background="Transparent"
|
||
ShowInTaskbar="False"
|
||
Title="InkCanvasforClass"
|
||
Topmost="True"
|
||
KeyDown="Window_KeyDown"
|
||
Closing="Window_Closing"
|
||
Closed="Window_Closed"
|
||
PreviewKeyDown="Main_Grid_PreviewKeyDown"
|
||
Height="9000" Width="1440"
|
||
FontFamily="Microsoft YaHei UI"
|
||
MouseWheel="Window_MouseWheel"
|
||
Foreground="Black"
|
||
SizeChanged="MainWindow_OnSizeChanged"
|
||
MouseMove="MainWindow_OnMouseMove"
|
||
Stylus.IsPressAndHoldEnabled="False"
|
||
Stylus.IsFlicksEnabled="False"
|
||
Stylus.IsTapFeedbackEnabled="False"
|
||
DpiChanged="MainWindow_OnDpiChanged"
|
||
Stylus.IsTouchFeedbackEnabled="False">
|
||
<!--资源中添加命令-->
|
||
<Window.Resources>
|
||
<c:IsEnabledToOpacityConverter x:Key="IsEnabledToOpacityConverter" />
|
||
<c:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
|
||
<c:IntNumberToString x:Key="IntNumberToString" />
|
||
<c:IntNumberToString2 x:Key="IntNumberToString2" />
|
||
<RoutedUICommand x:Key="KeyExit" Text=" " />
|
||
<RoutedUICommand x:Key="HotKey_Command_Undo" Text=" " />
|
||
<RoutedUICommand x:Key="HotKey_Command_Redo" Text=" " />
|
||
<RoutedUICommand x:Key="HotKey_Command_Clear" Text=" " />
|
||
<RoutedUICommand x:Key="HotKey_Capture" Text=" " />
|
||
<RoutedUICommand x:Key="HotKey_Hide" Text=" " />
|
||
<RoutedUICommand x:Key="HotKey_ChangeToDrawTool" Text=" " />
|
||
<RoutedUICommand x:Key="HotKey_ChangeToQuitDrawTool" Text=" " />
|
||
<RoutedUICommand x:Key="HotKey_ChangeToSelect" Text=" " />
|
||
<RoutedUICommand x:Key="HotKey_ChangeToEraser" Text=" " />
|
||
<RoutedUICommand x:Key="HotKey_ChangeToBoard" Text=" " />
|
||
<RoutedUICommand x:Key="HotKey_ChangeToPen1" Text=" " />
|
||
<RoutedUICommand x:Key="HotKey_ChangeToPen2" Text=" " />
|
||
<RoutedUICommand x:Key="HotKey_ChangeToPen3" Text=" " />
|
||
<RoutedUICommand x:Key="HotKey_ChangeToPen4" Text=" " />
|
||
<RoutedUICommand x:Key="HotKey_ChangeToPen5" Text=" " />
|
||
<RoutedUICommand x:Key="HotKey_DrawLine" Text=" " />
|
||
<RoutedUICommand x:Key="NothingWillHappened" Text=" " />
|
||
|
||
<!-- Navigation Button Style -->
|
||
<Style x:Key="NavButton" TargetType="Button">
|
||
<Setter Property="Background" Value="Transparent"/>
|
||
<Setter Property="BorderThickness" Value="0"/>
|
||
<Setter Property="Template">
|
||
<Setter.Value>
|
||
<ControlTemplate TargetType="Button">
|
||
<Border x:Name="border" Background="{TemplateBinding Background}"
|
||
BorderBrush="{TemplateBinding BorderBrush}"
|
||
BorderThickness="{TemplateBinding BorderThickness}"
|
||
CornerRadius="4">
|
||
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
||
</Border>
|
||
<ControlTemplate.Triggers>
|
||
<Trigger Property="IsMouseOver" Value="True">
|
||
<Setter Property="Background" Value="#27272a"/>
|
||
</Trigger>
|
||
<Trigger Property="IsPressed" Value="True">
|
||
<Setter Property="Background" Value="#3b82f6"/>
|
||
</Trigger>
|
||
<!-- 使用多个DataTrigger替代动态绑定 -->
|
||
<DataTrigger Binding="{Binding Tag}" Value="startup">
|
||
<Setter Property="Background" Value="#3b82f6"/>
|
||
</DataTrigger>
|
||
<DataTrigger Binding="{Binding Tag}" Value="canvas">
|
||
<Setter Property="Background" Value="#3b82f6"/>
|
||
</DataTrigger>
|
||
<DataTrigger Binding="{Binding Tag}" Value="gesture">
|
||
<Setter Property="Background" Value="#3b82f6"/>
|
||
</DataTrigger>
|
||
<DataTrigger Binding="{Binding Tag}" Value="inkrecognition">
|
||
<Setter Property="Background" Value="#3b82f6"/>
|
||
</DataTrigger>
|
||
<DataTrigger Binding="{Binding Tag}" Value="crashaction">
|
||
<Setter Property="Background" Value="#3b82f6"/>
|
||
</DataTrigger>
|
||
<DataTrigger Binding="{Binding Tag}" Value="ppt">
|
||
<Setter Property="Background" Value="#3b82f6"/>
|
||
</DataTrigger>
|
||
<DataTrigger Binding="{Binding Tag}" Value="advanced">
|
||
<Setter Property="Background" Value="#3b82f6"/>
|
||
</DataTrigger>
|
||
<DataTrigger Binding="{Binding Tag}" Value="automation">
|
||
<Setter Property="Background" Value="#3b82f6"/>
|
||
</DataTrigger>
|
||
<DataTrigger Binding="{Binding Tag}" Value="randomwindow">
|
||
<Setter Property="Background" Value="#3b82f6"/>
|
||
</DataTrigger>
|
||
<DataTrigger Binding="{Binding Tag}" Value="theme">
|
||
<Setter Property="Background" Value="#3b82f6"/>
|
||
</DataTrigger>
|
||
<DataTrigger Binding="{Binding Tag}" Value="shortcuts">
|
||
<Setter Property="Background" Value="#3b82f6"/>
|
||
</DataTrigger>
|
||
<DataTrigger Binding="{Binding Tag}" Value="about">
|
||
<Setter Property="Background" Value="#3b82f6"/>
|
||
</DataTrigger>
|
||
</ControlTemplate.Triggers>
|
||
</ControlTemplate>
|
||
</Setter.Value>
|
||
</Setter>
|
||
</Style>
|
||
</Window.Resources>
|
||
<!--输入命令绑定-->
|
||
<Window.InputBindings>
|
||
<KeyBinding Gesture="Escape" Command="{StaticResource KeyExit}" />
|
||
<KeyBinding Modifiers="Control" Key="Z" Command="{StaticResource HotKey_Command_Undo}" />
|
||
<KeyBinding Modifiers="Control" Key="Y" Command="{StaticResource HotKey_Command_Redo}" />
|
||
<KeyBinding Modifiers="Control" Key="E" Command="{StaticResource HotKey_Command_Clear}" />
|
||
<KeyBinding Modifiers="Alt" Key="C" Command="{StaticResource HotKey_Capture}" />
|
||
<KeyBinding Modifiers="Alt" Key="V" Command="{StaticResource HotKey_Hide}" />
|
||
<KeyBinding Modifiers="Alt" Key="S" Command="{StaticResource HotKey_ChangeToSelect}" />
|
||
<KeyBinding Modifiers="Alt" Key="D" Command="{StaticResource HotKey_ChangeToDrawTool}" />
|
||
<KeyBinding Modifiers="Alt" Key="Q" Command="{StaticResource HotKey_ChangeToQuitDrawTool}" />
|
||
<KeyBinding Modifiers="Alt" Key="E" Command="{StaticResource HotKey_ChangeToEraser}" />
|
||
<KeyBinding Modifiers="Alt" Key="B" Command="{StaticResource HotKey_ChangeToBoard}" />
|
||
<KeyBinding Modifiers="Alt" Key="D1" Command="{StaticResource HotKey_ChangeToPen1}" />
|
||
<KeyBinding Modifiers="Alt" Key="D2" Command="{StaticResource HotKey_ChangeToPen2}" />
|
||
<KeyBinding Modifiers="Alt" Key="D3" Command="{StaticResource HotKey_ChangeToPen3}" />
|
||
<KeyBinding Modifiers="Alt" Key="D4" Command="{StaticResource HotKey_ChangeToPen4}" />
|
||
<KeyBinding Modifiers="Alt" Key="D5" Command="{StaticResource HotKey_ChangeToPen5}" />
|
||
<KeyBinding Modifiers="Alt" Key="L" Command="{StaticResource HotKey_DrawLine}" />
|
||
<KeyBinding Modifiers="Alt" Key="F4" Command="{StaticResource NothingWillHappened}" />
|
||
</Window.InputBindings>
|
||
<!--命令执行方法绑定-->
|
||
<Window.CommandBindings>
|
||
<CommandBinding CanExecute="CommandBinding_CanExecute" Command="{StaticResource KeyExit}" Executed="KeyExit" />
|
||
<CommandBinding CanExecute="CommandBinding_CanExecute" Command="{StaticResource HotKey_Command_Undo}"
|
||
Executed="HotKey_Undo" />
|
||
<CommandBinding CanExecute="CommandBinding_CanExecute" Command="{StaticResource HotKey_Command_Redo}"
|
||
Executed="HotKey_Redo" />
|
||
<CommandBinding CanExecute="CommandBinding_CanExecute" Command="{StaticResource HotKey_Command_Clear}"
|
||
Executed="HotKey_Clear" />
|
||
<CommandBinding CanExecute="CommandBinding_CanExecute" Command="{StaticResource HotKey_ChangeToDrawTool}"
|
||
Executed="KeyChangeToDrawTool" />
|
||
<CommandBinding CanExecute="CommandBinding_CanExecute" Command="{StaticResource HotKey_ChangeToQuitDrawTool}"
|
||
Executed="KeyChangeToQuitDrawTool" />
|
||
<CommandBinding CanExecute="CommandBinding_CanExecute" Command="{StaticResource HotKey_ChangeToSelect}"
|
||
Executed="KeyChangeToSelect" />
|
||
<CommandBinding CanExecute="CommandBinding_CanExecute" Command="{StaticResource HotKey_ChangeToEraser}"
|
||
Executed="KeyChangeToEraser" />
|
||
<CommandBinding CanExecute="CommandBinding_CanExecute" Command="{StaticResource HotKey_ChangeToBoard}"
|
||
Executed="KeyChangeToBoard" />
|
||
<CommandBinding CanExecute="CommandBinding_CanExecute" Command="{StaticResource HotKey_Capture}"
|
||
Executed="KeyCapture" />
|
||
<CommandBinding CanExecute="CommandBinding_CanExecute" Command="{StaticResource HotKey_Hide}"
|
||
Executed="KeyHide" />
|
||
<CommandBinding CanExecute="CommandBinding_CanExecute" Command="{StaticResource HotKey_DrawLine}"
|
||
Executed="KeyDrawLine" />
|
||
</Window.CommandBindings>
|
||
|
||
<Grid x:Name="Main_Grid">
|
||
|
||
<!--// 设置界面 //-->
|
||
<Grid Panel.ZIndex="999" x:Name="BorderSettingsMask" MouseDown="SettingsOverlayClick" IsHitTestVisible="True"
|
||
Margin="0,0,0,0">
|
||
<Border Name="BorderSettings" Background="#ee18181b" ui:ThemeManager.RequestedTheme="Dark" Width="490"
|
||
HorizontalAlignment="Left" Margin="300,150,0,350" Visibility="Visible">
|
||
<Grid>
|
||
<Grid.ColumnDefinitions>
|
||
<ColumnDefinition Width="50"/>
|
||
<ColumnDefinition Width="*"/>
|
||
</Grid.ColumnDefinitions>
|
||
|
||
<!-- Navigation Sidebar -->
|
||
<Border Grid.Column="0" Background="#1e1e1e" BorderBrush="#27272a" BorderThickness="0,0,1,0">
|
||
<Grid>
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="Auto"/>
|
||
<RowDefinition Height="*"/>
|
||
<RowDefinition Height="Auto"/>
|
||
</Grid.RowDefinitions>
|
||
|
||
<!-- 顶部Logo区域 -->
|
||
<Border Grid.Row="0" Height="50" Background="#2d2d30" BorderBrush="#3f3f46" BorderThickness="0,0,0,1">
|
||
<Image Width="30" Height="30" Source="/Resources/icc.ico" RenderOptions.BitmapScalingMode="HighQuality"/>
|
||
</Border>
|
||
|
||
<!-- 主要导航按钮 -->
|
||
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
|
||
<StackPanel>
|
||
<!-- Startup -->
|
||
<Button Width="40" Height="40" Margin="0,10,0,0" Style="{StaticResource NavButton}"
|
||
Click="NavStartup_Click" Tag="startup" ToolTip="启动设置">
|
||
<Image Width="24" Height="24">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F0 M24,24z M0,0z M6.63415,3.34528C6.87134,3.21274,7.16167,3.21885,7.39307,3.36126L20.3931,11.3613C20.6149,11.4978 20.75,11.7396 20.75,12 20.75,12.2604 20.6149,12.5022 20.3931,12.6387L7.39307,20.6387C7.16167,20.7811 6.87134,20.7873 6.63415,20.6547 6.39696,20.5222 6.25,20.2717 6.25,20L6.25,4C6.25,3.72829,6.39696,3.47783,6.63415,3.34528z M7.75,5.34217L7.75,18.6578 18.569,12 7.75,5.34217z" />
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
|
||
<!-- Canvas -->
|
||
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
||
Click="NavCanvas_Click" Tag="canvas" ToolTip="画布设置">
|
||
<Image Width="24" Height="24">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F0 M24,24z M0,0z M4.11612,6.11612C4.35054,5.8817,4.66848,5.75,5,5.75L19,5.75C19.3315,5.75 19.6495,5.8817 19.8839,6.11612 20.1183,6.35054 20.25,6.66848 20.25,7L20.25,18C20.25,18.0663 20.2237,18.1299 20.1768,18.1768 20.1299,18.2237 20.0663,18.25 20,18.25 19.5858,18.25 19.25,18.5858 19.25,19 19.25,19.4142 19.5858,19.75 20,19.75 20.4641,19.75 20.9092,19.5656 21.2374,19.2374 21.5656,18.9092 21.75,18.4641 21.75,18L21.75,7C21.75,6.27065 21.4603,5.57118 20.9445,5.05546 20.4288,4.53973 19.7293,4.25 19,4.25L5,4.25C4.27065,4.25 3.57118,4.53973 3.05546,5.05546 2.53973,5.57118 2.25,6.27065 2.25,7L2.25,17C2.25,17.7293 2.53973,18.4288 3.05546,18.9445 3.57118,19.4603 4.27065,19.75 5,19.75L8,19.75C8.41421,19.75 8.75,19.4142 8.75,19 8.75,18.5858 8.41421,18.25 8,18.25L5,18.25C4.66848,18.25 4.35054,18.1183 4.11612,17.8839 3.8817,17.6495 3.75,17.3315 3.75,17L3.75,7C3.75,6.66848,3.8817,6.35054,4.11612,6.11612z M11.8232,16.8232C11.8701,16.7763,11.9337,16.75,12,16.75L16,16.75C16.0663,16.75 16.1299,16.7763 16.1768,16.8232 16.2237,16.8701 16.25,16.9337 16.25,17L16.25,18C16.25,18.0663 16.2237,18.1299 16.1768,18.1768 16.1299,18.2237 16.0663,18.25 16,18.25L12,18.25C11.9337,18.25 11.8701,18.2237 11.8232,18.1768 11.7763,18.1299 11.75,18.0663 11.75,18L11.75,17C11.75,16.9337,11.7763,16.8701,11.8232,16.8232z M12,15.25C11.5359,15.25 11.0908,15.4344 10.7626,15.7626 10.4344,16.0908 10.25,16.5359 10.25,17L10.25,18C10.25,18.4641 10.4344,18.9092 10.7626,19.2374 11.0908,19.5656 11.5359,19.75 12,19.75L16,19.75C16.4641,19.75 16.9092,19.5656 17.2374,19.2374 17.5656,18.9092 17.75,18.4641 17.75,18L17.75,17C17.75,16.5359 17.5656,16.0908 17.2374,15.7626 16.9092,15.4344 16.4641,15.25 16,15.25L12,15.25z" />
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
|
||
<!-- Gesture -->
|
||
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
||
Click="NavGesture_Click" Tag="gesture" ToolTip="手势设置">
|
||
<Image Width="24" Height="24">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F0 M24,24z M0,0z M7.98145,10.6889L7.98145,3.97896C7.98145,3.37896 8.21145,2.80897 8.64145,2.38896 9.49145,1.53896 10.9714,1.53896 11.8214,2.38896 12.2414,2.80897 12.4814,3.37896 12.4814,3.97896L12.4814,6.87304C13.2752,6.60639 14.2109,6.77837 14.8214,7.38896 14.9934,7.56094 15.1352,7.75807 15.2427,7.97211 16.0798,7.5855 17.157,7.72439 17.8214,8.38879 17.9978,8.56516 18.1424,8.76797 18.2509,8.98835 19.0867,8.60643 20.1592,8.74658 20.8214,9.40881 21.2414,9.82881 21.4814,10.3988 21.4814,10.9988L21.4814,15.4988C21.4814,17.2788 20.7614,19.0188 19.5014,20.2688 18.2314,21.5488 16.5314,22.2488 14.7314,22.2488L14.7314,22.2288 12.7314,22.2288 12.6214,22.2288C11.6114,22.1788 10.6214,21.9088 9.73138,21.4288 8.75138,20.8988 7.91138,20.1288 7.29138,19.1988L7.09138,18.8988C6.76138,18.3988 5.68138,16.5088 3.78138,13.1288 3.49138,12.6188 3.41138,12.0188 3.57138,11.4488 3.72138,10.8788 4.08138,10.3988 4.59138,10.0988 5.09138,9.79881 5.68138,9.67881 6.26138,9.74881 6.84138,9.81881 7.38138,10.0888 7.79138,10.4988L7.98145,10.6889z M16.9814,11.0086L16.9814,11.4788C16.9814,11.8888 17.3214,12.2288 17.7314,12.2288 18.1414,12.2288 18.4814,11.8888 18.4814,11.4788L18.4814,10.9889C18.484,10.7926 18.5637,10.6065 18.7014,10.4688 18.9814,10.1888 19.4814,10.1888 19.7614,10.4688 19.9014,10.6088 19.9814,10.7988 19.9814,10.9988L19.9814,15.4988C19.9814,16.8788 19.4214,18.2288 18.4414,19.2088 17.4514,20.1988 16.1314,20.7488 14.7314,20.7488L12.9414,20.7488C12.0714,20.7488 11.2114,20.5288 10.4514,20.1188 9.69138,19.7088 9.04138,19.1088 8.56138,18.3888L8.36138,18.0888C8.06138,17.6188 6.96138,15.7088 5.10138,12.3988 5.00138,12.2288 4.98138,12.0288 5.03138,11.8388 5.08138,11.6488 5.20138,11.4888 5.37138,11.3888 5.58138,11.2588 5.83138,11.2088 6.08138,11.2388 6.32138,11.2688 6.55138,11.3888 6.73138,11.5588L8.20138,13.0288C8.49138,13.3188 8.97138,13.3188 9.26138,13.0288 9.38653,12.9037 9.45767,12.7431 9.4748,12.5778 9.47918,12.5454 9.48145,12.5124 9.48145,12.479L9.48145,3.97896C9.48145,3.77897 9.56145,3.58896 9.70145,3.44896 9.98145,3.16896 10.4814,3.16896 10.7614,3.44896 10.9014,3.58896 10.9814,3.77897 10.9814,3.97896L10.9814,8.97896 10.9814,10.979 10.9814,11.479C10.9814,11.889 11.3214,12.229 11.7314,12.229 12.1414,12.229 12.4814,11.889 12.4814,11.479L12.4814,10.979 12.4814,8.97896C12.4814,8.77897 12.5614,8.58897 12.7014,8.44897 12.9814,8.16897 13.4814,8.16897 13.7614,8.44897 13.9014,8.58897 13.9814,8.77897 13.9814,8.97896L13.9814,9.97879 13.9814,11.479C13.9814,11.889 14.3214,12.229 14.7314,12.229 15.1414,12.229 15.4814,11.889 15.4814,11.479L15.4814,9.97879C15.4814,9.77879 15.5614,9.58879 15.7014,9.44879 15.9814,9.16879 16.4814,9.16879 16.7614,9.44879 16.9014,9.58879 16.9814,9.77879 16.9814,9.97879L16.9814,10.9814 16.9814,10.9988 16.9814,11.0086z M3.27144,5.81876C3.04144,5.81876 2.81144,5.70876 2.66144,5.50876 2.42144,5.17876 2.49144,4.70876 2.82144,4.45876 3.63144,3.86876 4.50144,3.35876 5.42144,2.94876 5.80144,2.77876 6.24144,2.94876 6.41144,3.32875 6.58144,3.70876 6.41144,4.14876 6.03144,4.31876 5.21144,4.68876 4.43144,5.13875 3.71144,5.66876 3.58144,5.76876 3.42144,5.80875 3.27144,5.80875L3.27144,5.81876z M18.0113,5.17885C18.1413,5.25885,18.2713,5.29885,18.4113,5.29885L18.4113,5.28885C18.6613,5.28885 18.9113,5.16885 19.0513,4.93885 19.2713,4.58885 19.1613,4.12885 18.8113,3.90885 17.6013,3.14885 16.3013,2.57885 14.9213,2.20885 14.5113,2.09885 14.1113,2.33885 14.0013,2.73885 13.8913,3.13885 14.1313,3.54885 14.5313,3.65885 15.7613,3.98885 16.9313,4.49885 18.0113,5.17885z" />
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
|
||
<!-- Ink Recognition -->
|
||
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
||
Click="NavInkRecognition_Click" Tag="inkrecognition" ToolTip="墨迹识别">
|
||
<Image Width="24" Height="24">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F0 M24,24z M0,0z M15.1306,4.19378C15.5647,4.01395 16.0301,3.92139 16.5,3.92139 16.9699,3.92139 17.4353,4.01395 17.8694,4.19378 18.3036,4.37361 18.698,4.6372 19.0303,4.96948 19.3626,5.30177 19.6262,5.69625 19.806,6.13041 19.9859,6.56457 20.0784,7.02989 20.0784,7.49981 20.0784,7.96974 19.9859,8.43506 19.806,8.86922 19.6262,9.30337 19.3626,9.69786 19.0303,10.0301L18.0403,11.0202 18.0303,11.0303 18.0202,11.0403 8.53033,20.5301C8.38968,20.6708,8.19891,20.7498,8,20.7498L4,20.7498C3.58579,20.7498,3.25,20.414,3.25,19.9998L3.25,15.9998C3.25,15.8009,3.32902,15.6101,3.46967,15.4695L13.9697,4.96948C14.302,4.6372,14.6964,4.37361,15.1306,4.19378z M17.9697,8.96948L17.4999,9.43925 14.5606,6.49991 15.0303,6.03014C15.2233,5.83714 15.4525,5.68405 15.7046,5.5796 15.9568,5.47515 16.2271,5.42139 16.5,5.42139 16.7729,5.42139 17.0432,5.47515 17.2954,5.5796 17.5475,5.68405 17.7767,5.83714 17.9697,6.03014 18.1627,6.22314 18.3158,6.45227 18.4202,6.70443 18.5247,6.9566 18.5784,7.22687 18.5784,7.49981 18.5784,7.77276 18.5247,8.04303 18.4202,8.29519 18.3158,8.54736 18.1627,8.77648 17.9697,8.96948z M4.75,16.3105L13.4999,7.56057 16.4392,10.4999 7.68934,19.2498 4.75,19.2498 4.75,16.3105z M21.5303,17.5303C21.8232,17.2374 21.8232,16.7626 21.5303,16.4697 21.2374,16.1768 20.7626,16.1768 20.4697,16.4697L17,19.9393 15.5303,18.4697C15.2374,18.1768 14.7626,18.1768 14.4697,18.4697 14.1768,18.7626 14.1768,19.2374 14.4697,19.5303L16.4697,21.5303C16.7626,21.8232,17.2374,21.8232,17.5303,21.5303L21.5303,17.5303z" />
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
|
||
<!-- Crash Action -->
|
||
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
||
Click="NavCrashAction_Click" Tag="crashaction" ToolTip="崩溃处理">
|
||
<Image Width="24" Height="24">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"/>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
|
||
<!-- PPT -->
|
||
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
||
Click="NavPPT_Click" Tag="ppt" ToolTip="PPT设置">
|
||
<Image Width="24" Height="24">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F0 M24,24z M0,0z M12.6955,2.31464C12.8562,2.2432,13.037,2.23053,13.2061,2.27886L20.2061,4.27886C20.5281,4.37085,20.7501,4.66514,20.7501,5L20.7501,18C20.7501,18.3,20.5713,18.5712,20.2955,18.6894L13.2955,21.6894C13.1267,21.7617,12.9372,21.7696,12.7629,21.7115L3.7629,18.7115C3.41393,18.5952 3.20083,18.243 3.25975,17.8799 3.31867,17.5168 3.63223,17.25 4.00007,17.25L12.2501,17.25 12.2501,7.10778 8.75007,8.50778 8.75007,13C8.75007,13.2841,8.58957,13.5438,8.33548,13.6708L4.33548,15.6708C4.10299,15.7871 3.82688,15.7746 3.60577,15.638 3.38466,15.5013 3.25007,15.2599 3.25007,15L3.25007,7C3.25007,6.70361,3.42462,6.43502,3.69546,6.31464L12.6955,2.31464z M13.0558,3.79595L4.75007,7.48741 4.75007,13.7865 7.25007,12.5365 7.25007,8C7.25007,7.69332,7.43678,7.41754,7.72153,7.30364L12.7215,5.30364C12.9526,5.21122 13.2145,5.23943 13.4205,5.37895 13.6266,5.51847 13.7501,5.75113 13.7501,6L13.7501,18C13.7501,18.4142,13.4143,18.75,13.0001,18.75L8.62178,18.75 12.9667,20.1983 19.2501,17.5055 19.2501,5.56573 13.0558,3.79595z" />
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
|
||
<!-- Advanced -->
|
||
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
||
Click="NavAdvanced_Click" Tag="advanced" ToolTip="高级设置">
|
||
<Image Width="24" Height="24">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F0 M24,24z M0,0z M7.8679,3.80724L10.5302,6.46952C10.6708,6.61018,10.7499,6.80094,10.7499,6.99985L10.7499,9.99985C10.7499,10.4141,10.4141,10.7499,9.99985,10.7499L6.99985,10.7499C6.80094,10.7499,6.61018,10.6708,6.46952,10.5302L3.80724,7.8679C3.64358,8.5543 3.61907,9.27047 3.73968,9.97343 3.92327,11.0435 4.43407,12.0303 5.20176,12.798 5.96944,13.5656 6.95625,14.0764 8.02628,14.26 9.09632,14.4436 10.197,14.291 11.1766,13.8231 11.4634,13.6861 11.8054,13.7448 12.0302,13.9695L18.0302,19.9695C18.2874,20.2267 18.6362,20.3712 18.9999,20.3712 19.3636,20.3712 19.7124,20.2267 19.9695,19.9695 20.2267,19.7124 20.3712,19.3636 20.3712,18.9999 20.3712,18.6362 20.2267,18.2874 19.9695,18.0302L13.9695,12.0302C13.7448,11.8054 13.6861,11.4634 13.8231,11.1766 14.291,10.197 14.4436,9.09632 14.26,8.02628 14.0764,6.95625 13.5656,5.96944 12.798,5.20176 12.0303,4.43407 11.0435,3.92327 9.97343,3.73968 9.27047,3.61907 8.5543,3.64358 7.8679,3.80724z M6.17663,2.82308C7.43621,2.22151 8.85132,2.02523 10.2271,2.26128 11.6028,2.49732 12.8716,3.15407 13.8586,4.1411 14.8456,5.12812 15.5024,6.39687 15.7384,7.77263 15.944,8.97097 15.8216,10.1992 15.3891,11.3284L21.0302,16.9695C21.5687,17.508 21.8712,18.2383 21.8712,18.9999 21.8712,19.7614 21.5687,20.4917 21.0302,21.0302 20.4917,21.5687 19.7614,21.8712 18.9999,21.8712 18.2383,21.8712 17.508,21.5687 16.9695,21.0302L11.3284,15.3891C10.1992,15.8216 8.97097,15.944 7.77263,15.7384 6.39687,15.5024 5.12812,14.8456 4.1411,13.8586 3.15407,12.8716 2.49732,11.6028 2.26128,10.2271 2.02523,8.85132 2.22151,7.43621 2.82308,6.17663 2.92801,5.95693 3.13306,5.80183 3.37303,5.76066 3.613,5.71948 3.85802,5.79736 4.03018,5.96952L7.31051,9.24985 9.24985,9.24985 9.24985,7.31051 5.96952,4.03018C5.79736,3.85802 5.71948,3.613 5.76066,3.37303 5.80183,3.13306 5.95693,2.92801 6.17663,2.82308z" />
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
|
||
<!-- Automation -->
|
||
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
||
Click="NavAutomation_Click" Tag="automation" ToolTip="自动化设置">
|
||
<Image Width="24" Height="24">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F0 M24,24z M0,0z M7.81828,2.27257C8.22012,2.17211,8.62732,2.41643,8.72778,2.81828L9.08572,4.25 14.9146,4.25 15.2726,2.81828C15.373,2.41643 15.7802,2.17211 16.1821,2.27257 16.5839,2.37303 16.8282,2.78023 16.7278,3.18208L16.4608,4.25 18,4.25C18.7293,4.25 19.4288,4.53973 19.9445,5.05546 20.4603,5.57118 20.75,6.27065 20.75,7L20.75,19C20.75,19.7293 20.4603,20.4288 19.9445,20.9445 19.4288,21.4603 18.7293,21.75 18,21.75L6,21.75C5.27065,21.75 4.57118,21.4603 4.05546,20.9445 3.53973,20.4288 3.25,19.7293 3.25,19L3.25,7C3.25,6.27065 3.53973,5.57118 4.05546,5.05546 4.57118,4.53973 5.27065,4.25 6,4.25L7.53955,4.25 7.27257,3.18208C7.17211,2.78023,7.41643,2.37303,7.81828,2.27257z M14.5396,5.75L14.2726,6.81828C14.1721,7.22012 14.4164,7.62732 14.8183,7.72778 15.2201,7.82825 15.6273,7.58393 15.7278,7.18208L16.0858,5.75 18,5.75C18.3315,5.75 18.6495,5.8817 18.8839,6.11612 19.1183,6.35054 19.25,6.66848 19.25,7L19.25,19C19.25,19.3315 19.1183,19.6495 18.8839,19.8839 18.6495,20.1183 18.3315,20.25 18,20.25L6,20.25C5.66848,20.25 5.35054,20.1183 5.11612,19.8839 4.8817,19.6495 4.75,19.3315 4.75,19L4.75,7C4.75,6.66848 4.8817,6.35054 5.11612,6.11612 5.35054,5.8817 5.66848,5.75 6,5.75L7.91455,5.75 8.27257,7.18208C8.37303,7.58393 8.78023,7.82825 9.18208,7.72778 9.58393,7.62732 9.82825,7.22012 9.72778,6.81828L9.46072,5.75 14.5396,5.75z M9.41625,15.3761C9.07166,15.1463 8.60598,15.2393 8.37614,15.5839 8.14629,15.9285 8.23932,16.3942 8.58391,16.624 9.6821,17.3565 10.8245,17.7501 12.0001,17.7501 13.1757,17.7501 14.3181,17.3565 15.4162,16.624 15.7608,16.3942 15.8539,15.9285 15.624,15.5839 15.3942,15.2393 14.9285,15.1463 14.5839,15.3761 13.6821,15.9776 12.8245,16.2501 12.0001,16.2501 11.1757,16.2501 10.3181,15.9776 9.41625,15.3761z M9,10.25C9.41421,10.25,9.75,10.5858,9.75,11L9.75,12C9.75,12.4142 9.41421,12.75 9,12.75 8.58579,12.75 8.25,12.4142 8.25,12L8.25,11C8.25,10.5858,8.58579,10.25,9,10.25z M15.75,11C15.75,10.5858 15.4142,10.25 15,10.25 14.5858,10.25 14.25,10.5858 14.25,11L14.25,12C14.25,12.4142 14.5858,12.75 15,12.75 15.4142,12.75 15.75,12.4142 15.75,12L15.75,11z" />
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
|
||
<!-- Random Window -->
|
||
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
||
Click="NavRandomWindow_Click" Tag="randomwindow" ToolTip="随机窗口设置">
|
||
<Image Width="24" Height="24">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F0 M24,24z M0,0z M18.5303,3.46967C18.2374,3.17678 17.7626,3.17678 17.4697,3.46967 17.1768,3.76256 17.1768,4.23744 17.4697,4.53033L19.1893,6.25 16,6.25C14.475,6.25 13.0125,6.8558 11.9341,7.93414 11.5659,8.30239 11.2527,8.71546 11,9.16052 10.7473,8.71546 10.4341,8.30239 10.0659,7.93414 8.98753,6.8558 7.52499,6.25 6,6.25L3,6.25C2.58579,6.25 2.25,6.58579 2.25,7 2.25,7.41421 2.58579,7.75 3,7.75L6,7.75C7.12717,7.75 8.20817,8.19777 9.0052,8.9948 9.80223,9.79183 10.25,10.8728 10.25,12 10.25,13.1272 9.80223,14.2082 9.0052,15.0052 8.20817,15.8022 7.12717,16.25 6,16.25L3,16.25C2.58579,16.25 2.25,16.5858 2.25,17 2.25,17.4142 2.58579,17.75 3,17.75L6,17.75C7.52499,17.75 8.98753,17.1442 10.0659,16.0659 10.4341,15.6976 10.7473,15.2845 11,14.8395 11.2527,15.2845 11.5659,15.6976 11.9341,16.0659 13.0125,17.1442 14.475,17.75 16,17.75L19.1893,17.75 17.4697,19.4697C17.1768,19.7626 17.1768,20.2374 17.4697,20.5303 17.7626,20.8232 18.2374,20.8232 18.5303,20.5303L21.5303,17.5303C21.6022,17.4584 21.6565,17.3755 21.6931,17.2871 21.7298,17.1987 21.75,17.1017 21.75,17 21.75,16.8081 21.6768,16.6161 21.5303,16.4697L18.5303,13.4697C18.2374,13.1768 17.7626,13.1768 17.4697,13.4697 17.1768,13.7626 17.1768,14.2374 17.4697,14.5303L19.1893,16.25 16,16.25C14.8728,16.25 13.7918,15.8022 12.9948,15.0052 12.1978,14.2082 11.75,13.1272 11.75,12 11.75,10.8728 12.1978,9.79183 12.9948,8.9948 13.7918,8.19777 14.8728,7.75 16,7.75L19.1893,7.75 17.4697,9.46967C17.1768,9.76256 17.1768,10.2374 17.4697,10.5303 17.7626,10.8232 18.2374,10.8232 18.5303,10.5303L21.5303,7.53033C21.6768,7.38388 21.75,7.19194 21.75,7 21.75,6.89831 21.7298,6.80134 21.6931,6.71291 21.6565,6.62445 21.6022,6.54158 21.5303,6.46967L18.5303,3.46967z" />
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
|
||
<!-- 新增:个性化设置 -->
|
||
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
||
Click="NavTheme_Click" Tag="theme" ToolTip="个性化设置">
|
||
<Image Width="24" Height="24">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F0 M24,24z M0,0z M9.43853,3.39157C9.63411,3.53254 9.75,3.75892 9.75,4.00001 9.75,4.59674 9.98705,5.16904 10.409,5.591 10.831,6.01295 11.4033,6.25001 12,6.25001 12.5967,6.25001 13.169,6.01295 13.591,5.591 14.0129,5.16904 14.25,4.59674 14.25,4.00001 14.25,3.75892 14.3659,3.53254 14.5615,3.39157 14.757,3.25061 15.0085,3.21226 15.2372,3.28849L21.2372,5.28849C21.5434,5.39058,21.75,5.67718,21.75,6.00001L21.75,11C21.75,11.4142,21.4142,11.75,21,11.75L18.75,11.75 18.75,19C18.75,19.4641 18.5656,19.9093 18.2374,20.2374 17.9092,20.5656 17.4641,20.75 17,20.75L7,20.75C6.53587,20.75 6.09075,20.5656 5.76256,20.2374 5.43437,19.9093 5.25,19.4641 5.25,19L5.25,11.75 3,11.75C2.58579,11.75,2.25,11.4142,2.25,11L2.25,6.00001C2.25,5.67718,2.45657,5.39058,2.76283,5.28849L8.76283,3.28849C8.99154,3.21226,9.24296,3.25061,9.43853,3.39157z M3.75,6.54058L3.75,10.25 6,10.25C6.41421,10.25,6.75,10.5858,6.75,11L6.75,19C6.75,19.0663 6.77634,19.1299 6.82322,19.1768 6.87011,19.2237 6.93369,19.25 7,19.25L17,19.25C17.0663,19.25 17.1299,19.2237 17.1768,19.1768 17.2237,19.1299 17.25,19.0663 17.25,19L17.25,11C17.25,10.5858,17.5858,10.25,18,10.25L20.25,10.25 20.25,6.54058 15.6154,4.99571C15.4444,5.61643 15.1149,6.1884 14.6517,6.65166 13.9484,7.35492 12.9946,7.75001 12,7.75001 11.0054,7.75001 10.0516,7.35492 9.34835,6.65166 8.8851,6.1884 8.55557,5.61643 8.3846,4.99571L3.75,6.54058z" />
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
|
||
<!-- 新增:快捷键设置 -->
|
||
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
||
Click="NavShortcuts_Click" Tag="shortcuts" ToolTip="快捷键设置">
|
||
<Image Width="24" Height="24">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="M20,5H4A2,2 0 0,0 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V7A2,2 0 0,0 20,5M20,17H4V7H20V17M5,8H7V10H5V8M8,8H10V10H8V8M11,8H13V10H11V8M14,8H16V10H14V8M17,8H19V10H17V8M5,11H7V13H5V11M8,11H10V13H8V11M11,11H13V13H11V11M14,11H16V13H14V11M17,11H19V13H17V11M8,14H16V16H8V14Z"/>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
|
||
<!-- About -->
|
||
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
||
Click="NavAbout_Click" Tag="about" ToolTip="关于">
|
||
<Image Width="24" Height="24">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F0 M24,24z M0,0z M5.10571,5.10571C6.93419,3.27723 9.41414,2.25 12,2.25 14.5859,2.25 17.0658,3.27723 18.8943,5.10571 20.7228,6.93419 21.75,9.41414 21.75,12 21.75,13.2804 21.4978,14.5482 21.0078,15.7312 20.5178,16.9141 19.7997,17.9889 18.8943,18.8943 17.9889,19.7997 16.9141,20.5178 15.7312,21.0078 14.5482,21.4978 13.2804,21.75 12,21.75 10.7196,21.75 9.45176,21.4978 8.26884,21.0078 7.08591,20.5178 6.01108,19.7997 5.10571,18.8943 4.20034,17.9889 3.48216,16.9141 2.99217,15.7312 2.50219,14.5482 2.25,13.2804 2.25,12 2.25,9.41414 3.27723,6.93419 5.10571,5.10571z M12,3.75C9.81196,3.75 7.71354,4.61919 6.16637,6.16637 4.61919,7.71354 3.75,9.81196 3.75,12 3.75,13.0834 3.96339,14.1562 4.37799,15.1571 4.79259,16.1581 5.40029,17.0675 6.16637,17.8336 6.93245,18.5997 7.84193,19.2074 8.84286,19.622 9.8438,20.0366 10.9166,20.25 12,20.25 13.0834,20.25 14.1562,20.0366 15.1571,19.622 16.1581,19.2074 17.0675,18.5997 17.8336,17.8336 18.5997,17.0675 19.2074,16.1581 19.622,15.1571 20.0366,14.1562 20.25,13.0834 20.25,12 20.25,9.81196 19.3808,7.71354 17.8336,6.16637 16.2865,4.61919 14.188,3.75 12,3.75z M11.25,9C11.25,8.58579,11.5858,8.25,12,8.25L12.01,8.25C12.4242,8.25 12.76,8.58579 12.76,9 12.76,9.41421 12.4242,9.75 12.01,9.75L12,9.75C11.5858,9.75,11.25,9.41421,11.25,9z M11,11.25C10.5858,11.25 10.25,11.5858 10.25,12 10.25,12.4142 10.5858,12.75 11,12.75L11.25,12.75 11.25,16C11.25,16.4142,11.5858,16.75,12,16.75L13,16.75C13.4142,16.75 13.75,16.4142 13.75,16 13.75,15.5858 13.4142,15.25 13,15.25L12.75,15.25 12.75,12C12.75,11.5858,12.4142,11.25,12,11.25L11,11.25z" />
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
</StackPanel>
|
||
</ScrollViewer>
|
||
|
||
<!-- 底部操作按钮 -->
|
||
<StackPanel Grid.Row="2" Margin="0,5,0,10">
|
||
<Separator Background="#3f3f46" Margin="5,0,5,10"/>
|
||
|
||
<!-- 折叠侧边栏按钮 -->
|
||
<Button Width="40" Height="40" Style="{StaticResource NavButton}"
|
||
Click="CollapseNavSidebar_Click" ToolTip="折叠侧边栏">
|
||
<Image Width="24" Height="24">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z"/>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
</StackPanel>
|
||
</Grid>
|
||
</Border>
|
||
|
||
<!-- Content Area -->
|
||
<Grid Grid.Column="1">
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="80"/>
|
||
<RowDefinition Height="*"/>
|
||
<RowDefinition Height="50"/>
|
||
</Grid.RowDefinitions>
|
||
|
||
<!-- 标题栏 -->
|
||
<Grid ClipToBounds="True" Grid.Row="0" Margin="0,0,0,0" Height="80" VerticalAlignment="Top">
|
||
<Border Background="#18181b" CornerRadius="0" Margin="-1,-1,-1,0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
||
<!-- 显示侧边栏按钮 -->
|
||
<Button Width="40" Height="40" Margin="10,0,0,0" Style="{StaticResource NavButton}"
|
||
Click="ShowNavSidebar_Click" ToolTip="显示侧边栏">
|
||
<Image Width="24" Height="24">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"/>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
<TextBlock Foreground="White" Margin="15,-2,0,0" Text="设置" FontWeight="Bold"
|
||
FontSize="32" />
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<Canvas>
|
||
<Image Canvas.Top="12" Canvas.Right="-16" Width="98" Height="98" Opacity="0.4">
|
||
<Image.RenderTransform>
|
||
<!-- giving the transform a name tells the framework not to freeze it -->
|
||
<RotateTransform CenterX="49" CenterY="49" />
|
||
</Image.RenderTransform>
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V257 H257 V0 H0 Z">
|
||
<GeometryDrawing Brush="GhostWhite"
|
||
Geometry="F0 M257,257z M0,0z M93.339,256.594L88.2444,215.634C85.4849,214.567 82.8846,213.287 80.4434,211.794 78.0023,210.301 75.6142,208.701 73.2793,206.994L35.3887,222.994 0.363831,162.194 33.1598,137.234C32.9476,135.741,32.8414,134.301,32.8414,132.914L32.8414,124.274C32.8414,122.887,32.9476,121.447,33.1598,119.954L0.363831,94.9941 35.3887,34.1941 73.2793,50.1941C75.6142,48.4874 78.0554,46.8874 80.6026,45.3941 83.1499,43.9007 85.6972,42.6207 88.2444,41.5541L93.339,0.594055 163.389,0.594055 168.483,41.5541C171.243,42.6207 173.843,43.9007 176.284,45.3941 178.725,46.8874 181.113,48.4874 183.448,50.1941L221.339,34.1941 256.364,94.9941 223.568,119.954C223.78,121.447,223.886,122.887,223.886,124.274L223.886,132.914C223.886,134.301,223.674,135.741,223.249,137.234L256.045,162.194 221.021,222.994 183.448,206.994C181.113,208.701 178.672,210.301 176.125,211.794 173.578,213.287 171.031,214.567 168.483,215.634L163.389,256.594 93.339,256.594z M160.523,160.274C151.82,169.021 141.312,173.394 129.001,173.394 116.477,173.394 105.916,169.021 97.3191,160.274 88.722,151.527 84.4235,140.967 84.4235,128.594 84.4235,116.221 88.722,105.661 97.3191,96.9141 105.916,88.1674 116.477,83.7941 129.001,83.7941 141.312,83.7941 151.82,88.1674 160.523,96.9141 169.226,105.661 173.578,116.221 173.578,128.594 173.578,140.967 169.226,151.527 160.523,160.274z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
<Image.Triggers>
|
||
<EventTrigger RoutedEvent="Loaded">
|
||
<BeginStoryboard>
|
||
<Storyboard>
|
||
<DoubleAnimation
|
||
Storyboard.TargetProperty="(Image.RenderTransform).(RotateTransform.Angle)"
|
||
To="-360" Duration="0:0:3" RepeatBehavior="Forever" />
|
||
</Storyboard>
|
||
</BeginStoryboard>
|
||
</EventTrigger>
|
||
</Image.Triggers>
|
||
</Image>
|
||
</Canvas>
|
||
</Grid>
|
||
|
||
<!-- 内容区域 -->
|
||
<ui:ScrollViewerEx Grid.Row="1" Margin="0,0,0,0" VerticalScrollBarVisibility="Auto"
|
||
PanningMode="VerticalOnly" ui:ThemeManager.RequestedTheme="Dark"
|
||
ManipulationBoundaryFeedback="SCManipulationBoundaryFeedback"
|
||
Name="SettingsPanelScrollViewer">
|
||
<StackPanel Margin="20,20,20,20">
|
||
|
||
<Border Margin="0,0,0,10" Height="100" CornerRadius="5" BorderBrush="#a1a1aa"
|
||
BorderThickness="1">
|
||
<ui:SimpleStackPanel VerticalAlignment="Center">
|
||
<TextBlock Foreground="#fafafa" HorizontalAlignment="Center"
|
||
VerticalAlignment="Center" FontSize="15" Margin="0,0,0,10"
|
||
Text="设置更改将自动保存,部分设置需要重启软件后生效" />
|
||
<ui:SimpleStackPanel Spacing="5">
|
||
<ui:SimpleStackPanel Spacing="5" Orientation="Horizontal"
|
||
HorizontalAlignment="Center">
|
||
<Button Width="116" Height="45" FontFamily="Microsoft YaHei UI"
|
||
Click="BtnRestart_Click">
|
||
<Button.Resources>
|
||
</Button.Resources>
|
||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||
VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" Spacing="0">
|
||
<Image RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,0,6,0" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F1 M24,24z M0,0z M6.34315,6.34315C7.84299,4.8433 9.87707,4.0005 11.9981,4 14.2527,4.00897 16.4167,4.88785 18.039,6.45324L18.5858,7 16,7C15.4477,7 15,7.44772 15,8 15,8.55228 15.4477,9 16,9L21,9C21.1356,9 21.2649,8.97301 21.3828,8.92412 21.5007,8.87532 21.6112,8.80298 21.7071,8.70711 21.8902,8.52405 21.9874,8.28768 21.9989,8.04797 21.9996,8.03199 22,8.016 22,8L22,3C22,2.44772 21.5523,2 21,2 20.4477,2 20,2.44772 20,3L20,5.58579 19.4471,5.03289 19.435,5.02103C17.4405,3.09289,14.7779,2.01044,12.0038,2L12,2C9.34784,2 6.8043,3.05357 4.92893,4.92893 3.05357,6.8043 2,9.34784 2,12 2,12.5523 2.44772,13 3,13 3.55228,13 4,12.5523 4,12 4,9.87827 4.84285,7.84344 6.34315,6.34315z" />
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F1 M24,24z M0,0z M22,12C22,14.6522 20.9464,17.1957 19.0711,19.0711 17.1957,20.9464 14.6522,22 12,22L11.9962,22C9.22213,21.9896,6.55946,20.9071,4.56496,18.979L4.55289,18.9671 4,18.4142 4,21C4,21.5523 3.55228,22 3,22 2.44772,22 2,21.5523 2,21L2,16.0002C2,15.8646 2.02699,15.7351 2.07588,15.6172 2.12432,15.5001 2.19595,15.3904 2.29078,15.295 2.29219,15.2936 2.2936,15.2922 2.29502,15.2908 2.48924,15.0977 2.74301,15.0008 2.997,15 2.998,15 2.999,15 3,15L8,15C8.55228,15 9,15.4477 9,16 9,16.5523 8.55228,17 8,17L5.41421,17 5.96095,17.5467C7.5833,19.1122 9.74736,19.9911 12.002,20 14.123,19.9995 16.157,19.1567 17.6569,17.6569 19.1571,16.1566 20,14.1217 20,12 20,11.4477 20.4477,11 21,11 21.5523,11 22,11.4477 22,12z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label FontSize="16" Foreground="#fafafa"
|
||
VerticalAlignment="Center" FontFamily="Microsoft YaHei UI"
|
||
FontWeight="Bold">
|
||
重启
|
||
</Label>
|
||
</ui:SimpleStackPanel>
|
||
</Button>
|
||
<Button Width="116" Height="45" FontFamily="Microsoft YaHei UI"
|
||
Click="BtnResetToSuggestion_Click"
|
||
Margin="0,0,0,0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||
VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" Spacing="0">
|
||
<Image
|
||
Margin="0,0,4,0" RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F1 M24,24z M0,0z M2,6C2,5.44772,2.44772,5,3,5L21,5C21.5523,5 22,5.44772 22,6 22,6.55228 21.5523,7 21,7L3,7C2.44772,7,2,6.55228,2,6z" />
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F1 M24,24z M0,0z M2,12C2,11.4477,2.44772,11,3,11L7,11C7.55228,11 8,11.4477 8,12 8,12.5523 7.55228,13 7,13L3,13C2.44772,13,2,12.5523,2,12z" />
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F1 M24,24z M0,0z M3,17C2.44772,17 2,17.4477 2,18 2,18.5523 2.44772,19 3,19L7,19C7.55228,19 8,18.5523 8,18 8,17.4477 7.55228,17 7,17L3,17z" />
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F1 M24,24z M0,0z M12.3829,11.2029C13.4335,10.1522 14.8952,9.5 16.5,9.5 17.9587,9.5 19.3576,10.0795 20.3891,11.1109 21.4205,12.1424 22,13.5413 22,15 22,16.2593 21.6038,17.4867 20.8675,18.5083 20.1311,19.5299 19.092,20.2939 17.8974,20.6921 16.7027,21.0903 15.413,21.1026 14.211,20.7271 13.009,20.3516 11.9556,19.6074 11.2,18.6 10.8686,18.1582 10.9582,17.5314 11.4,17.2 11.8418,16.8686 12.4686,16.9582 12.8,17.4 13.3037,18.0716 14.006,18.5677 14.8073,18.8181 15.6087,19.0684 16.4685,19.0602 17.2649,18.7947 18.0614,18.5292 18.7541,18.0199 19.245,17.3388 19.7359,16.6578 20,15.8395 20,15 20,14.0717 19.6313,13.1815 18.9749,12.5251 18.3185,11.8687 17.4283,11.5 16.5,11.5 15.4448,11.5 14.4865,11.9278 13.7971,12.6171L13.4142,13 15,13C15.5523,13 16,13.4477 16,14 16,14.5523 15.5523,15 15,15L11.0007,15C10.9997,15 10.998,15 10.997,15 10.8625,14.9996 10.7343,14.9727 10.6172,14.9241 10.5001,14.8757 10.3904,14.804 10.295,14.7092 10.2936,14.7078 10.2922,14.7064 10.2908,14.705 10.196,14.6096 10.1243,14.4999 10.0759,14.3828 10.027,14.2649 10,14.1356 10,14L10,10C10,9.44772 10.4477,9 11,9 11.5523,9 12,9.44772 12,10L12,11.5858 12.3829,11.2029z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Margin="2,0,0,0" FontSize="16" VerticalAlignment="Center"
|
||
FontFamily="Microsoft YaHei UI">
|
||
重置
|
||
</Label>
|
||
</ui:SimpleStackPanel>
|
||
</Button>
|
||
<Button Width="116" Height="45" FontFamily="Microsoft YaHei UI"
|
||
Click="BtnExit_Click">
|
||
<Button.Resources>
|
||
</Button.Resources>
|
||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||
VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" Spacing="0">
|
||
<Image RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,0,6,0" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F1 M24,24z M0,0z M13,2C13,1.44772 12.5523,1 12,1 11.4477,1 11,1.44772 11,2L11,12C11,12.5523 11.4477,13 12,13 12.5523,13 13,12.5523 13,12L13,2z" />
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F1 M24,24z M0,0z M19.1073,5.89303C18.7168,5.50243 18.0837,5.50232 17.6931,5.89277 17.3025,6.28322 17.3024,6.91639 17.6928,7.30698 18.8098,8.42441 19.571,9.84758 19.8802,11.397 20.1894,12.9464 20.0329,14.5528 19.4305,16.0134 18.828,17.474 17.8065,18.7235 16.4948,19.6043 15.1831,20.4851 13.64,20.9578 12.06,20.9628 10.48,20.9677 8.93392,20.5047 7.61674,19.6321 6.29956,18.7595 5.27025,17.5164 4.65863,16.0596 4.04701,14.6028 3.88046,12.9975 4.17999,11.4462 4.47952,9.89485 5.23171,8.46694 6.3417,7.34254 6.7297,6.9495 6.72562,6.31635 6.33258,5.92835 5.93955,5.54036 5.3064,5.54444 4.9184,5.93747 3.5309,7.34298 2.59067,9.12786 2.21626,11.067 1.84185,13.0062 2.05003,15.0128 2.81456,16.8338 3.57909,18.6549 4.86572,20.2087 6.5122,21.2994 8.15867,22.3902 10.0913,22.9689 12.0662,22.9627 14.0412,22.9566 15.9701,22.3657 17.6098,21.2647 19.2494,20.1637 20.5262,18.6018 21.2793,16.776 22.0324,14.9502 22.2281,12.9424 21.8415,11.0056 21.455,9.06878 20.5036,7.28981 19.1073,5.89303z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Foreground="#fafafa" FontSize="16"
|
||
VerticalAlignment="Center" FontFamily="Microsoft YaHei UI"
|
||
FontWeight="Bold">
|
||
退出
|
||
</Label>
|
||
</ui:SimpleStackPanel>
|
||
</Button>
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<Border Margin="0,0,0,10" Height="100" CornerRadius="5" BorderBrush="#a1a1aa"
|
||
BorderThickness="1">
|
||
<ui:SimpleStackPanel VerticalAlignment="Center">
|
||
<TextBlock Foreground="#fafafa" HorizontalAlignment="Center"
|
||
VerticalAlignment="Center" FontSize="15" Margin="0,0,0,10"
|
||
Text="开发中...请不要点击,可能会导致ICC异常崩溃" />
|
||
<ui:SimpleStackPanel Spacing="5">
|
||
<ui:SimpleStackPanel Spacing="5" Orientation="Horizontal"
|
||
HorizontalAlignment="Center">
|
||
<Button Width="116" Height="45" FontFamily="Microsoft YaHei UI"
|
||
Click="BtnRestart_Click">
|
||
<Button.Resources>
|
||
</Button.Resources>
|
||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||
VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" Spacing="0">
|
||
<Image RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,0,6,0" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F1 M24,24z M0,0z M6.34315,6.34315C7.84299,4.8433 9.87707,4.0005 11.9981,4 14.2527,4.00897 16.4167,4.88785 18.039,6.45324L18.5858,7 16,7C15.4477,7 15,7.44772 15,8 15,8.55228 15.4477,9 16,9L21,9C21.1356,9 21.2649,8.97301 21.3828,8.92412 21.5007,8.87532 21.6112,8.80298 21.7071,8.70711 21.8902,8.52405 21.9874,8.28768 21.9989,8.04797 21.9996,8.03199 22,8.016 22,8L22,3C22,2.44772 21.5523,2 21,2 20.4477,2 20,2.44772 20,3L20,5.58579 19.4471,5.03289 19.435,5.02103C17.4405,3.09289,14.7779,2.01044,12.0038,2L12,2C9.34784,2 6.8043,3.05357 4.92893,4.92893 3.05357,6.8043 2,9.34784 2,12 2,12.5523 2.44772,13 3,13 3.55228,13 4,12.5523 4,12 4,9.87827 4.84285,7.84344 6.34315,6.34315z" />
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F1 M24,24z M0,0z M22,12C22,14.6522 20.9464,17.1957 19.0711,19.0711 17.1957,20.9464 14.6522,22 12,22L11.9962,22C9.22213,21.9896,6.55946,20.9071,4.56496,18.979L4.55289,18.9671 4,18.4142 4,21C4,21.5523 3.55228,22 3,22 2.44772,22 2,21.5523 2,21L2,16.0002C2,15.8646 2.02699,15.7351 2.07588,15.6172 2.12432,15.5001 2.19595,15.3904 2.29078,15.295 2.29219,15.2936 2.2936,15.2922 2.29502,15.2908 2.48924,15.0977 2.74301,15.0008 2.997,15 2.998,15 2.999,15 3,15L8,15C8.55228,15 9,15.4477 9,16 9,16.5523 8.55228,17 8,17L5.41421,17 5.96095,17.5467C7.5833,19.1122 9.74736,19.9911 12.002,20 14.123,19.9995 16.157,19.1567 17.6569,17.6569 19.1571,16.1566 20,14.1217 20,12 20,11.4477 20.4477,11 21,11 21.5523,11 22,11.4477 22,12z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label FontSize="16" Foreground="#fafafa"
|
||
VerticalAlignment="Center" FontFamily="Microsoft YaHei UI"
|
||
FontWeight="Bold">
|
||
测试
|
||
</Label>
|
||
</ui:SimpleStackPanel>
|
||
</Button>
|
||
<Button Width="116" Height="45" FontFamily="Microsoft YaHei UI"
|
||
Click="BtnResetToSuggestion_Click"
|
||
Margin="0,0,0,0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||
VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" Spacing="0">
|
||
<Image
|
||
Margin="0,0,4,0" RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F1 M24,24z M0,0z M2,6C2,5.44772,2.44772,5,3,5L21,5C21.5523,5 22,5.44772 22,6 22,6.55228 21.5523,7 21,7L3,7C2.44772,7,2,6.55228,2,6z" />
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F1 M24,24z M0,0z M2,12C2,11.4477,2.44772,11,3,11L7,11C7.55228,11 8,11.4477 8,12 8,12.5523 7.55228,13 7,13L3,13C2.44772,13,2,12.5523,2,12z" />
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F1 M24,24z M0,0z M3,17C2.44772,17 2,17.4477 2,18 2,18.5523 2.44772,19 3,19L7,19C7.55228,19 8,18.5523 8,18 8,17.4477 7.55228,17 7,17L3,17z" />
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F1 M24,24z M0,0z M12.3829,11.2029C13.4335,10.1522 14.8952,9.5 16.5,9.5 17.9587,9.5 19.3576,10.0795 20.3891,11.1109 21.4205,12.1424 22,13.5413 22,15 22,16.2593 21.6038,17.4867 20.8675,18.5083 20.1311,19.5299 19.092,20.2939 17.8974,20.6921 16.7027,21.0903 15.413,21.1026 14.211,20.7271 13.009,20.3516 11.9556,19.6074 11.2,18.6 10.8686,18.1582 10.9582,17.5314 11.4,17.2 11.8418,16.8686 12.4686,16.9582 12.8,17.4 13.3037,18.0716 14.006,18.5677 14.8073,18.8181 15.6087,19.0684 16.4685,19.0602 17.2649,18.7947 18.0614,18.5292 18.7541,18.0199 19.245,17.3388 19.7359,16.6578 20,15.8395 20,15 20,14.0717 19.6313,13.1815 18.9749,12.5251 18.3185,11.8687 17.4283,11.5 16.5,11.5 15.4448,11.5 14.4865,11.9278 13.7971,12.6171L13.4142,13 15,13C15.5523,13 16,13.4477 16,14 16,14.5523 15.5523,15 15,15L11.0007,15C10.9997,15 10.998,15 10.997,15 10.8625,14.9996 10.7343,14.9727 10.6172,14.9241 10.5001,14.8757 10.3904,14.804 10.295,14.7092 10.2936,14.7078 10.2922,14.7064 10.2908,14.705 10.196,14.6096 10.1243,14.4999 10.0759,14.3828 10.027,14.2649 10,14.1356 10,14L10,10C10,9.44772 10.4477,9 11,9 11.5523,9 12,9.44772 12,10L12,11.5858 12.3829,11.2029z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Margin="2,0,0,0" FontSize="16" VerticalAlignment="Center"
|
||
FontFamily="Microsoft YaHei UI">
|
||
测试
|
||
</Label>
|
||
</ui:SimpleStackPanel>
|
||
</Button>
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<GroupBox>
|
||
<GroupBox.Header>
|
||
<TextBlock Margin="0,12,0,0" Text="启动" FontWeight="Bold" Foreground="#fafafa"
|
||
FontSize="26" />
|
||
</GroupBox.Header>
|
||
<ui:SimpleStackPanel Spacing="6">
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchIsAutoUpdate" Header="自动检查更新"
|
||
FontFamily="Microsoft YaHei UI"
|
||
Toggled="ToggleSwitchIsAutoUpdate_Toggled" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchIsAutoUpdateWithSilence" Header="静默更新"
|
||
FontFamily="Microsoft YaHei UI"
|
||
Toggled="ToggleSwitchIsAutoUpdateWithSilence_Toggled" />
|
||
<TextBlock Text="# 静默更新将在软件不使用时自动安装,无需手动操作" TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
|
||
<!-- 更新通道选择 -->
|
||
<ui:SimpleStackPanel Spacing="8" Margin="0,8,0,0">
|
||
<TextBlock Text="更新通道" FontSize="15" FontWeight="Bold" Foreground="#fafafa"/>
|
||
<ui:RadioButtons x:Name="UpdateChannelSelector" Margin="0,4,0,0">
|
||
<RadioButton Content="稳定版 (Release)" GroupName="UpdateChannel"
|
||
Tag="Release" Checked="UpdateChannelSelector_Checked"/>
|
||
<RadioButton Content="测试版 (Beta)" GroupName="UpdateChannel"
|
||
Tag="Beta" Checked="UpdateChannelSelector_Checked"/>
|
||
</ui:RadioButtons>
|
||
<TextBlock Text="# 稳定版提供可靠更新,测试版提供新功能抢先体验" TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
</ui:SimpleStackPanel>
|
||
|
||
<!-- 版本修复按钮 -->
|
||
<Button x:Name="FixVersionButton" Content="版本修复" Margin="0,8,0,0"
|
||
Width="120" HorizontalAlignment="Left" Click="FixVersionButton_Click"/>
|
||
<TextBlock Text="# 版本修复会根据当前选择的通道下载最新版本并执行安装,可用于修复损坏的安装"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
|
||
<Border BorderBrush="Black" BorderThickness="1" CornerRadius="5" Padding="12"
|
||
Visibility="{Binding ElementName=ToggleSwitchIsAutoUpdateWithSilence, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
|
||
<ui:SimpleStackPanel Spacing="12">
|
||
<TextBlock
|
||
Text="# 关闭静默更新后,已完成安装包的下载后将会弹窗询问是否进行更新,开启静默更新后将会在安装包下载完成后每隔十分钟进行如下检测:①处于静默更新时间段内 ②未处于书写模式 ③未处于画板内。若以上检测通过即会关闭软件进行自动更新。"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
<ui:SimpleStackPanel x:Name="AutoUpdateTimePeriodBlock" Spacing="12">
|
||
<ui:SimpleStackPanel Spacing="12">
|
||
<TextBlock Text="静默更新时间段" FontSize="15" FontWeight="Bold"
|
||
TextWrapping="Wrap" Foreground="Black" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="12">
|
||
<ui:SimpleStackPanel Orientation="Horizontal">
|
||
<TextBlock Margin="0,0,10,0" VerticalAlignment="Center"
|
||
Text="起始时间" FontSize="14" TextWrapping="Wrap"
|
||
Foreground="Black" />
|
||
<ComboBox x:Name="AutoUpdateWithSilenceStartTimeComboBox"
|
||
Width="90"
|
||
SelectionChanged="AutoUpdateWithSilenceStartTimeComboBox_SelectionChanged" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal">
|
||
<TextBlock Margin="0,0,10,0" VerticalAlignment="Center"
|
||
Text="终止时间" FontSize="14" TextWrapping="Wrap"
|
||
Foreground="Black" />
|
||
<ComboBox x:Name="AutoUpdateWithSilenceEndTimeComboBox"
|
||
Width="90"
|
||
SelectionChanged="AutoUpdateWithSilenceEndTimeComboBox_SelectionChanged" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Width="340" HorizontalAlignment="Left"
|
||
Text="# 若终止时间小于起始时间,即将终止时间视为第二天的时间。# 若起始时间与终止时间相同,即视为全天候时间。"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="开机时运行" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchRunAtStartup"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchRunAtStartup_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="开机运行后收纳到侧边栏" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchFoldAtStartup"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchFoldAtStartup_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<!--
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchAutoHideCanvas" Header="自动隐藏画板" FontFamily="Microsoft YaHei UI" Toggled="ToggleSwitchAutoHideCanvas_Toggled"/>
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchAutoEnterModeFinger" Header="自动进入手指模式" FontFamily="Microsoft YaHei UI" Toggled="ToggleSwitchAutoEnterModeFinger_Toggled"/>
|
||
-->
|
||
</ui:SimpleStackPanel>
|
||
</GroupBox>
|
||
<GroupBox>
|
||
<GroupBox.Header>
|
||
<TextBlock Margin="0,12,0,0" Text="画板和墨迹" FontWeight="Bold" Foreground="#fafafa"
|
||
FontSize="26" />
|
||
</GroupBox.Header>
|
||
<ui:SimpleStackPanel Spacing="6">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="显示画笔光标" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchShowCursor"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchShowCursor_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="启用压感触屏模式" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchEnablePressureTouchMode"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchEnablePressureTouchMode_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="# 开启后,触屏设备也将支持压感效果,适用于部分支持压感但无法被系统识别的触屏设备。" TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="屏蔽压感" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchDisablePressure"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchDisablePressure_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="# 开启后,将忽略所有设备的压感信息,使所有笔画具有统一的粗细。与压感触屏模式互斥。" TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="橡皮大小" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ComboBox Name="ComboBoxEraserSize" FontFamily="Microsoft YaHei UI"
|
||
SelectedIndex="2"
|
||
SelectionChanged="ComboBoxEraserSize_SelectionChanged">
|
||
<ComboBoxItem Content="很小" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="较小" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="中等" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="较大" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="很大" FontFamily="Microsoft YaHei UI" />
|
||
</ComboBox>
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="# 非实时切换,下一次使用面积擦时生效。" TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="退出画板模式后隐藏墨迹" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchHideStrokeWhenSelecting" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchHideStrokeWhenSelecting_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="# 开启 退出画板模式后隐藏墨迹 选项后,进入 PPT 模式时未处于批注模式时不会显示墨迹。"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="清空墨迹时删除墨迹历史记录" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchClearCanvasAndClearTimeMachine" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchClearCanvasAndClearTimeMachine_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="保留双曲线渐近线" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ComboBox Name="ComboBoxHyperbolaAsymptoteOption"
|
||
FontFamily="Microsoft YaHei UI" SelectedIndex="0"
|
||
SelectionChanged="ComboBoxHyperbolaAsymptoteOption_SelectionChanged">
|
||
<ComboBoxItem Content="是" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="否" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="每次询问" FontFamily="Microsoft YaHei UI" />
|
||
</ComboBox>
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="# 请注意,若不保留双曲线渐近线可能会有遇到撤回相关的 BUG 影响用。" TextWrapping="Wrap"
|
||
Foreground="#a1a1aa" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="让墨迹使用贝塞尔曲线平滑处理"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchFitToCurve"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchFitToCurve_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</GroupBox>
|
||
<!-- 新增:崩溃后操作设置 -->
|
||
<GroupBox>
|
||
<GroupBox.Header>
|
||
<TextBlock Margin="0,12,0,0" Text="崩溃后操作" FontWeight="Bold" Foreground="#fafafa"
|
||
FontSize="26" />
|
||
</GroupBox.Header>
|
||
<ui:SimpleStackPanel Spacing="6">
|
||
<TextBlock Text="请选择软件发生未处理异常时的自动操作:" Foreground="#a1a1aa" />
|
||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,4,0,0">
|
||
<RadioButton x:Name="RadioCrashSilentRestart" GroupName="CrashAction"
|
||
Content="静默重启软件" FontSize="14" Margin="0,0,24,0"
|
||
Checked="RadioCrashAction_Checked"/>
|
||
<RadioButton x:Name="RadioCrashNoAction" GroupName="CrashAction"
|
||
Content="无操作" FontSize="14"
|
||
Checked="RadioCrashAction_Checked"/>
|
||
</StackPanel>
|
||
<TextBlock Text="# 静默重启:崩溃后自动重启软件,无提示。无操作:崩溃后仅记录日志,不自动重启。" Foreground="#a1a1aa" />
|
||
</ui:SimpleStackPanel>
|
||
</GroupBox>
|
||
<GroupBox>
|
||
<GroupBox.Header>
|
||
<TextBlock Margin="0,12,0,0" Text="手势" FontWeight="Bold" Foreground="#fafafa"
|
||
FontSize="26" />
|
||
</GroupBox.Header>
|
||
<ui:SimpleStackPanel Spacing="6">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="进退白板模式自动开关双指移动功能"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchAutoSwitchTwoFingerGesture" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoSwitchTwoFingerGesture_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="# 开启后退出画板模式时自动关闭双指移动手势,进入白板模式时自动开启双指移动手势" TextWrapping="Wrap"
|
||
Foreground="#a1a1aa" />
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="允许双指旋转与缩放选中的墨迹"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchEnableTwoFingerRotationOnSelection"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchEnableTwoFingerRotation_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="# 允许选中墨迹后对墨迹进行双指或多指缩放操作(此设置不受“允许双指旋转”设置的影响)" TextWrapping="Wrap"
|
||
Foreground="#a1a1aa" />
|
||
</ui:SimpleStackPanel>
|
||
</GroupBox>
|
||
<GroupBox Name="GroupBoxInkRecognition">
|
||
<GroupBox.Header>
|
||
<TextBlock Margin="0,12,0,0" Text="墨迹纠正" FontWeight="Bold" Foreground="#fafafa"
|
||
FontSize="26" />
|
||
</GroupBox.Header>
|
||
<ui:SimpleStackPanel Spacing="6">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="启用墨迹识别" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchEnableInkToShape"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchEnableInkToShape_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Spacing="6"
|
||
Visibility="{Binding ElementName=ToggleSwitchEnableInkToShape, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="阻止矫正后的矩形带有模拟压感值"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchEnableInkToShapeNoFakePressureRectangle"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI"
|
||
FontWeight="Bold"
|
||
Toggled="ToggleSwitchEnableInkToShapeNoFakePressureRectangle_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="阻止矫正后的三角形带有模拟压感值"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchEnableInkToShapeNoFakePressureTriangle"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI"
|
||
FontWeight="Bold"
|
||
Toggled="ToggleSwitchEnableInkToShapeNoFakePressureTriangle_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
||
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<CheckBox IsChecked="True" Name="ToggleCheckboxEnableInkToShapeTriangle"
|
||
Checked="ToggleCheckboxEnableInkToShapeTriangle_CheckedChanged"
|
||
Unchecked="ToggleCheckboxEnableInkToShapeTriangle_CheckedChanged">
|
||
<CheckBox.Content>
|
||
<TextBlock Foreground="#fafafa" Text="矫正手绘三角形"
|
||
VerticalAlignment="Center" FontSize="14"
|
||
Margin="0,0,16,0" />
|
||
</CheckBox.Content>
|
||
</CheckBox>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<CheckBox IsChecked="True" Name="ToggleCheckboxEnableInkToShapeRectangle"
|
||
Checked="ToggleCheckboxEnableInkToShapeRectangle_CheckedChanged"
|
||
Unchecked="ToggleCheckboxEnableInkToShapeRectangle_CheckedChanged">
|
||
<CheckBox.Content>
|
||
<TextBlock Foreground="#fafafa" Text="矫正手绘矩形"
|
||
VerticalAlignment="Center" FontSize="14"
|
||
Margin="0,0,16,0" />
|
||
</CheckBox.Content>
|
||
</CheckBox>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<CheckBox IsChecked="True" Name="ToggleCheckboxEnableInkToShapeRounded"
|
||
Checked="ToggleCheckboxEnableInkToShapeRounded_CheckedChanged"
|
||
Unchecked="ToggleCheckboxEnableInkToShapeRounded_CheckedChanged">
|
||
<CheckBox.Content>
|
||
<TextBlock Foreground="#fafafa" Text="矫正手绘圆形与椭圆"
|
||
VerticalAlignment="Center" FontSize="14"
|
||
Margin="0,0,16,0" />
|
||
</CheckBox.Content>
|
||
</CheckBox>
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
||
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="直线自动拉直" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchAutoStraightenLine"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoStraightenLine_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
|
||
Visibility="{Binding ElementName=ToggleSwitchAutoStraightenLine, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
|
||
<TextBlock Foreground="#fafafa" Text="长度阈值" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<Slider Name="AutoStraightenLineThresholdSlider" Width="150" Minimum="30" Maximum="300"
|
||
Value="30" TickFrequency="30" IsSnapToTickEnabled="True"
|
||
ValueChanged="AutoStraightenLineThresholdSlider_ValueChanged" />
|
||
<TextBlock Foreground="#fafafa" Text="{Binding ElementName=AutoStraightenLineThresholdSlider, Path=Value, StringFormat={}{0:0}}"
|
||
VerticalAlignment="Center" FontSize="14" Margin="16,0,0,0" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
|
||
Visibility="{Binding ElementName=ToggleSwitchAutoStraightenLine, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
|
||
<TextBlock Foreground="#fafafa" Text="灵敏度" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<Slider Name="LineStraightenSensitivitySlider" Width="150" Minimum="0.05" Maximum="2.0"
|
||
Value="0.20" TickFrequency="0.05" IsSnapToTickEnabled="True"
|
||
ValueChanged="LineStraightenSensitivitySlider_ValueChanged" />
|
||
<TextBlock Foreground="#fafafa" Text="{Binding ElementName=LineStraightenSensitivitySlider, Path=Value, StringFormat={}{0:F2}}"
|
||
VerticalAlignment="Center" FontSize="14" Margin="16,0,0,0" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="# 开启后,当绘制的直线超过设定长度阈值时,将自动调整为完美直线。灵敏度范围0.05-2.0,越小要求越严格,弯曲的线条越不容易被拉直;值越大越容易识别为直线。" TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
||
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="直线端点吸附" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchLineEndpointSnapping"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchLineEndpointSnapping_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
|
||
Visibility="{Binding ElementName=ToggleSwitchLineEndpointSnapping, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
|
||
<TextBlock Foreground="#fafafa" Text="吸附距离" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<Slider Name="LineEndpointSnappingThresholdSlider" Width="150" Minimum="5" Maximum="50"
|
||
Value="15" TickFrequency="5" IsSnapToTickEnabled="True"
|
||
ValueChanged="LineEndpointSnappingThresholdSlider_ValueChanged" />
|
||
<TextBlock Foreground="#fafafa" Text="{Binding ElementName=LineEndpointSnappingThresholdSlider, Path=Value, StringFormat={}{0:0}}"
|
||
VerticalAlignment="Center" FontSize="14" Margin="16,0,0,0" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="# 开启后,当绘制的直线端点靠近其他直线端点时,将自动吸附连接。" TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
</ui:SimpleStackPanel>
|
||
</GroupBox>
|
||
<GroupBox Name="GroupBoxAppearanceNewUI">
|
||
<GroupBox.Header>
|
||
<TextBlock Margin="0,12,0,0" Text="个性化" FontWeight="Bold" Foreground="#fafafa"
|
||
FontSize="26" />
|
||
</GroupBox.Header>
|
||
<ui:SimpleStackPanel Spacing="6">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="浮动工具栏图标" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ComboBox Name="ComboBoxFloatingBarImg" FontFamily="Microsoft YaHei UI"
|
||
SelectedIndex="0"
|
||
SelectionChanged="ComboBoxFloatingBarImg_SelectionChanged">
|
||
<ComboBoxItem Content="“ICC-CE”默认" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="“ICC-CE”黑色透明版" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="酷安斗鸡眼滑稽" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="酷安受虐滑稽" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="酷安呲牙笑" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="酷安头戴内裤滑稽" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="酷安绿帽Doge" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="贴吧滑稽" FontFamily="Microsoft YaHei UI" />
|
||
</ComboBox>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="浮动工具栏缩放" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<Slider x:Name="ViewboxFloatingBarScaleTransformValueSlider" Minimum="0.5"
|
||
Maximum="1.25" Width="168" FontFamily="Microsoft YaHei UI"
|
||
FontSize="20" IsSnapToTickEnabled="True" Value="1" TickFrequency="0.05"
|
||
TickPlacement="None" AutoToolTipPlacement="None"
|
||
ValueChanged="ViewboxFloatingBarScaleTransformValueSlider_ValueChanged" />
|
||
<TextBlock
|
||
Text="{Binding ElementName=ViewboxFloatingBarScaleTransformValueSlider, Path=Value}"
|
||
VerticalAlignment="Center" FontSize="14" FontFamily="Consolas"
|
||
Margin="12,0,16,0" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="浮动工具栏透明度" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<Slider x:Name="ViewboxFloatingBarOpacityValueSlider" Minimum="0.3"
|
||
Maximum="1" Width="168" FontFamily="Microsoft YaHei UI"
|
||
FontSize="20" IsSnapToTickEnabled="True" Value="1" TickFrequency="0.05"
|
||
TickPlacement="None" AutoToolTipPlacement="None"
|
||
ValueChanged="ViewboxFloatingBarOpacityValueSlider_ValueChanged" />
|
||
<TextBlock
|
||
Text="{Binding ElementName=ViewboxFloatingBarOpacityValueSlider, Path=Value}"
|
||
VerticalAlignment="Center" FontSize="14" FontFamily="Consolas"
|
||
Margin="12,0,16,0" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="浮栏在PPT下透明度" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<Slider x:Name="ViewboxFloatingBarOpacityInPPTValueSlider" Minimum="0.3"
|
||
Maximum="1" Width="168" FontFamily="Microsoft YaHei UI"
|
||
FontSize="20" IsSnapToTickEnabled="True" Value="1" TickFrequency="0.05"
|
||
TickPlacement="None" AutoToolTipPlacement="None"
|
||
ValueChanged="ViewboxFloatingBarOpacityInPPTValueSlider_ValueChanged" />
|
||
<TextBlock
|
||
Text="{Binding ElementName=ViewboxFloatingBarOpacityInPPTValueSlider, Path=Value}"
|
||
VerticalAlignment="Center" FontSize="14" FontFamily="Consolas"
|
||
Margin="12,0,16,0" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="# 重新进入PPT放映后生效"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
||
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="在调色盘窗口中显示 笔尖模式 按钮"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchEnableDisPlayNibModeToggle" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchEnableDisPlayNibModeToggle_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
||
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
||
<!--<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Text="浮动工具栏背景色" VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0"/>
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchColorfulViewboxFloatingBar" IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold" Toggled="ToggleSwitchIsColorfulViewboxFloatingBar_Toggled" />
|
||
</ui:SimpleStackPanel>-->
|
||
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="白板 UI 80% 缩放" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchEnableViewboxBlackBoardScaleTransform"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchEnableViewboxBlackBoardScaleTransform_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="在白板中显示当前时间和日期" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchEnableTimeDisplayInWhiteboardMode"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchEnableTimeDisplayInWhiteboardMode_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="在白板中显示信仰の源1(好喝的/毒的鸡汤)"
|
||
VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchEnableChickenSoupInWhiteboardMode"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchEnableChickenSoupInWhiteboardMode_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="信仰の源出自Where?" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ComboBox Name="ComboBoxChickenSoupSource" FontFamily="Microsoft YaHei UI"
|
||
SelectedIndex="1"
|
||
SelectionChanged="ComboBoxChickenSoupSource_SelectionChanged">
|
||
<ComboBoxItem Content="osu!玩家语录" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="励志立志的名言警句" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="高考祝福语" FontFamily="Microsoft YaHei UI" />
|
||
</ComboBox>
|
||
</ui:SimpleStackPanel>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
||
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="在收纳模式下启用快速面板" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchEnableQuickPanel"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchEnableQuickPanel_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="取消收纳按钮图标" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ComboBox Name="ComboBoxUnFoldBtnImg" FontFamily="Microsoft YaHei UI"
|
||
SelectedIndex="0"
|
||
SelectionChanged="ComboBoxUnFoldBtnImg_SelectionChanged">
|
||
<ComboBoxItem Content="箭头" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="笔" FontFamily="Microsoft YaHei UI" />
|
||
</ComboBox>
|
||
</ui:SimpleStackPanel>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
||
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
||
<Border Background="#101010" Height="50" Margin="-20,0" Padding="20,0">
|
||
<Grid>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" FlowDirection="RightToLeft">
|
||
<Image Height="24" Width="24" Margin="16,0,0,0">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V17 H19 V0 H0 Z">
|
||
<GeometryDrawing Brush="#FFFFFFFF"
|
||
Geometry="F1 M19,17z M0,0z M14.8268,0.0699463C15.3572,0.600333 15.8257,1.17492 16.2323,1.7937 16.6448,2.41249 16.9925,3.06368 17.2754,3.74729 17.5583,4.42501 17.7704,5.12925 17.9119,5.86 18.0592,6.58486 18.1329,7.32151 18.1329,8.06995 18.1329,8.81838 18.0592,9.55798 17.9119,10.2887 17.7704,11.0136 17.5583,11.7178 17.2754,12.4014 16.9925,13.0792 16.6448,13.7274 16.2323,14.3462 15.8257,14.965 15.3572,15.5396 14.8268,16.0699L14.0312,15.2744C14.5086,14.797 14.9299,14.2814 15.2953,13.7274 15.6666,13.1676 15.9789,12.5812 16.2323,11.9683 16.4857,11.3554 16.6773,10.7219 16.8069,10.0677 16.9424,9.4077 17.0102,8.74177 17.0102,8.06995 17.0102,7.39812 16.9424,6.73514 16.8069,6.081 16.6773,5.42096 16.4857,4.7845 16.2323,4.1716 15.9789,3.55871 15.6666,2.97529 15.2953,2.42133 14.9299,1.86147 14.5086,1.34287 14.0312,0.865526L14.8268,0.0699463z M12.4312,2.46553C12.8025,2.8368 13.1296,3.24048 13.4124,3.67658 13.7012,4.10678 13.9428,4.56055 14.1373,5.0379 14.3377,5.51525 14.4879,6.01028 14.5881,6.52299 14.6942,7.03569 14.7472,7.55135 14.7472,8.06995 14.7472,8.59444 14.6942,9.11304 14.5881,9.62575 14.4879,10.1326 14.3377,10.6246 14.1373,11.102 13.9428,11.5793 13.7012,12.0361 13.4124,12.4722 13.1296,12.9024 12.8025,13.3031 12.4312,13.6744L11.6268,12.8699C12.2633,12.2335 12.7524,11.4998 13.0942,10.6688 13.4419,9.8379 13.6157,8.9716 13.6157,8.06995 13.6157,7.16829 13.4419,6.30199 13.0942,5.47105 12.7524,4.64011 12.2633,3.90641 11.6268,3.26995L12.4312,2.46553z M10.0268,4.86995C10.4511,5.29426 10.7782,5.78339 11.008,6.33735 11.2378,6.89131 11.3528,7.46884 11.3528,8.06995 11.3528,8.67105 11.2378,9.24858 11.008,9.80254 10.7782,10.3565 10.4511,10.8456 10.0268,11.2699L9.23121,10.4744C9.54944,10.1561 9.79401,9.79076 9.96491,9.37823 10.1358,8.95982 10.2213,8.52372 10.2213,8.06995 10.2213,7.61617 10.1358,7.18302 9.96491,6.7705 9.79401,6.35208 9.54944,5.98376 9.23121,5.66553L10.0268,4.86995z M6.02237,1.281L6.82679,1.281 6.82679,14.8589 6.02237,14.8589 2.6279,11.4644 0.0378418,11.4644 0.0378418,4.67547 2.6279,4.67547 6.02237,1.281z M5.6953,3.21691L3.10525,5.80696 1.16933,5.80696 1.16933,10.3329 3.10525,10.3329 5.6953,12.923 5.6953,3.21691z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Image Height="24" Width="24" Margin="8,0,0,0">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V17 H22 V0 H0 Z">
|
||
<GeometryDrawing Brush="#FFFFFFFF"
|
||
Geometry="F1 M22,17z M0,0z M21.3712,12.8727L12.0378,12.8727 12.0378,15.5393 16.0378,15.5393 16.0378,16.8727 6.70451,16.8727 6.70451,15.5393 10.7045,15.5393 10.7045,12.8727 4.03784,12.8727 4.03784,16.8727 2.70451,16.8727 2.70451,8.87268 0.0378418,8.87268 0.0378418,0.872681 21.3712,0.872681 21.3712,12.8727z M1.37118,2.20601L1.37118,3.53935 5.37118,3.53935 5.37118,2.20601 1.37118,2.20601z M1.37118,7.53935L5.37118,7.53935 5.37118,4.87268 4.03784,4.87268 4.03784,6.20601 2.70451,6.20601 2.70451,4.87268 1.37118,4.87268 1.37118,7.53935z M4.03784,11.5393L20.0378,11.5393 20.0378,2.20601 6.70451,2.20601 6.70451,8.87268 4.03784,8.87268 4.03784,11.5393z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Image Name="ICCTrayIconExampleImage" Height="24" Width="24"
|
||
Source="Resources/icc.ico" Margin="8,0,0,0" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Margin="12,0,0,0" VerticalAlignment="Center" Text="任务栏托盘图标"
|
||
FontWeight="Bold" Foreground="#fafafa"
|
||
FontSize="20" />
|
||
</Grid>
|
||
</Border>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="启用托盘图标" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchEnableTrayIcon"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchEnableTrayIcon_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</GroupBox>
|
||
<GroupBox>
|
||
<GroupBox.Header>
|
||
<TextBlock Margin="0,12,0,0" Text="PPT联动" FontWeight="Bold" Foreground="#fafafa"
|
||
FontSize="26" />
|
||
</GroupBox.Header>
|
||
<ui:SimpleStackPanel Spacing="6">
|
||
<TextBlock Text="此部分的设置项将会在幻灯片播放时使用,优先级高于其他设置项" Foreground="#a1a1aa" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<Image Source="/Resources/Icons-png/Powerpoint.png" Margin="0,0,6,0" Width="28"
|
||
Height="28" VerticalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="Microsoft PowerPoint 支持"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchSupportPowerPoint" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchSupportPowerPoint_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<Image Source="/Resources/Icons-png/WPS.png" Margin="0,0,6,0" Width="28"
|
||
Height="28" VerticalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="WPS 支持" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchSupportWPS"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchSupportWPS_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<Border BorderBrush="#ef4444"
|
||
BorderThickness="2" Padding="8" CornerRadius="6" Background="#991b1b">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="4">
|
||
<Image Width="20" Height="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F0 M24,24z M0,0z M10.478,6.91759C10.478,6.07778 11.1588,5.39697 11.9986,5.39697 12.8385,5.39697 13.5193,6.07778 13.5193,6.91759L13.5193,12.0001C13.5193,12.8399 12.8385,13.5207 11.9986,13.5207 11.1588,13.5207 10.478,12.8399 10.478,12.0001L10.478,6.91759z M10.478,17.0826C10.478,16.2427,11.1588,15.5619,11.9986,15.5619L12.0114,15.5619C12.8512,15.5619 13.532,16.2427 13.532,17.0826 13.532,17.9224 12.8512,18.6032 12.0114,18.6032L11.9986,18.6032C11.1588,18.6032,10.478,17.9224,10.478,17.0826z M12,0.75C5.7868,0.75 0.75,5.7868 0.75,12 0.75,18.2132 5.7868,23.25 12,23.25 18.2132,23.25 23.25,18.2132 23.25,12 23.25,5.7868 18.2132,0.75 12,0.75z M3.25,12C3.25,7.16751 7.16751,3.25 12,3.25 16.8325,3.25 20.75,7.16751 20.75,12 20.75,16.8325 16.8325,20.75 12,20.75 7.16751,20.75 3.25,16.8325 3.25,12z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Margin="2,0,0,0" FontSize="13" VerticalAlignment="Center"
|
||
Text="开启WPS支持后会导致WPS关闭时卡顿!">
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<TextBlock
|
||
Text="# 可支持 WPS,但目前无法同时支持 MSOffice 和 WPS。若要启用WPS支持,请确保 WPS 是否在 “配置工具” 中开启了 “WPS Office 兼容第三方系统和软件” 选项,否则将无法识别到WPS!"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<TextBlock Margin="0,0,0,8" Text="PPT翻页按钮" FontWeight="Bold" Foreground="#fafafa"
|
||
FontSize="20" />
|
||
<Border ClipToBounds="True" Width="324" Height="182">
|
||
<Grid>
|
||
<Image Source="Resources/PresentationExample/page.jpg"></Image>
|
||
<Image Source="Resources/PresentationExample/toolbar.png" Height="16"
|
||
VerticalAlignment="Bottom" HorizontalAlignment="Center" />
|
||
<Image Name="PPTBtnPreviewLS" Source="Resources/PresentationExample/sidebar-white.png" Width="10"
|
||
VerticalAlignment="Center" HorizontalAlignment="Left" RenderTransformOrigin="0.5,0.5" >
|
||
<Image.RenderTransform>
|
||
<TransformGroup>
|
||
<TranslateTransform x:Name="PPTBtnPreviewLSTransform"/>
|
||
</TransformGroup>
|
||
</Image.RenderTransform>
|
||
</Image>
|
||
<Image Name="PPTBtnPreviewRS" Source="Resources/PresentationExample/sidebar-white.png" Width="10"
|
||
VerticalAlignment="Center" HorizontalAlignment="Right" RenderTransformOrigin="0.5,0.5" >
|
||
<Image.RenderTransform>
|
||
<TransformGroup>
|
||
<TranslateTransform x:Name="PPTBtnPreviewRSTransform"/>
|
||
</TransformGroup>
|
||
</Image.RenderTransform>
|
||
</Image>
|
||
<Image Name="PPTBtnPreviewLB" Source="Resources/PresentationExample/bottombar-white.png" Height="10"
|
||
VerticalAlignment="Bottom" HorizontalAlignment="Left" />
|
||
<Image Name="PPTBtnPreviewRB" Source="Resources/PresentationExample/bottombar-white.png" Height="12"
|
||
VerticalAlignment="Bottom" HorizontalAlignment="Right" />
|
||
</Grid>
|
||
</Border>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="在 PPT 模式下显示翻页按钮"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchShowPPTButton" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchShowPPTButton_OnToggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Spacing="6" Name="PPTButtonSettingsPanel"
|
||
Visibility="{Binding ElementName=ToggleSwitchShowPPTButton, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
|
||
<ui:SimpleStackPanel Margin="0,-4,0,4" Orientation="Horizontal"
|
||
HorizontalAlignment="Left" Spacing="16">
|
||
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxEnableLBPPTButton"
|
||
Checked="CheckboxEnableLBPPTButton_IsCheckChanged"
|
||
Unchecked="CheckboxEnableLBPPTButton_IsCheckChanged">
|
||
左下
|
||
</CheckBox>
|
||
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxEnableRBPPTButton"
|
||
Checked="CheckboxEnableRBPPTButton_IsCheckChanged"
|
||
Unchecked="CheckboxEnableRBPPTButton_IsCheckChanged">
|
||
右下
|
||
</CheckBox>
|
||
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxEnableLSPPTButton"
|
||
Checked="CheckboxEnableLSPPTButton_IsCheckChanged"
|
||
Unchecked="CheckboxEnableLSPPTButton_IsCheckChanged">
|
||
左侧
|
||
</CheckBox>
|
||
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxEnableRSPPTButton"
|
||
Checked="CheckboxEnableRSPPTButton_IsCheckChanged"
|
||
Unchecked="CheckboxEnableRSPPTButton_IsCheckChanged">
|
||
右侧
|
||
</CheckBox>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="左侧偏移" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,12,0" />
|
||
<Slider x:Name="PPTButtonLeftPositionValueSlider" Minimum="-500"
|
||
Maximum="500" Width="138" FontFamily="Microsoft YaHei UI"
|
||
FontSize="20" IsSnapToTickEnabled="True" Value="0"
|
||
TickFrequency="1"
|
||
TickPlacement="None" AutoToolTipPlacement="None"
|
||
ValueChanged="PPTButtonLeftPositionValueSlider_ValueChanged" />
|
||
<Button Padding="5" Margin="8,0,0,0" Name="PPTBtnLSPlusBtn"
|
||
Click="PPTBtnLSPlusBtn_Clicked">
|
||
<Image Width="16" Height="16">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
||
<GeometryDrawing Brush="#f4f4f5"
|
||
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.44772 0,8 0,8.55229 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.55229 16,8 16,7.44772 15.5523,7 15,7L9,7 9,1z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnLSMinusBtn"
|
||
Click="PPTBtnLSMinusBtn_Clicked">
|
||
<Image Width="16" Height="16">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
|
||
<GeometryDrawing Brush="#f4f4f5"
|
||
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnLSSyncBtn"
|
||
Click="PPTBtnLSSyncBtn_Clicked">
|
||
<Image Width="16" Height="16">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
|
||
<GeometryDrawing Brush="#f4f4f5"
|
||
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnLSResetBtn"
|
||
Click="PPTBtnLSResetBtn_Clicked">
|
||
<Image Width="16" Height="16">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#f4f4f5"
|
||
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884,8.87377,5.69003,9.5291,5.03471z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
<TextBlock
|
||
Text="{Binding ElementName=PPTButtonLeftPositionValueSlider, Path=Value}"
|
||
VerticalAlignment="Center" FontSize="13"
|
||
Margin="8,0,8,0" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="右侧偏移" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,12,0" />
|
||
<Slider x:Name="PPTButtonRightPositionValueSlider" Minimum="-500"
|
||
Maximum="500" Width="138" FontFamily="Microsoft YaHei UI"
|
||
FontSize="20" IsSnapToTickEnabled="True" Value="0"
|
||
TickFrequency="1"
|
||
TickPlacement="None" AutoToolTipPlacement="None"
|
||
ValueChanged="PPTButtonRightPositionValueSlider_ValueChanged" />
|
||
<Button Padding="5" Margin="8,0,0,0" Name="PPTBtnRSPlusBtn"
|
||
Click="PPTBtnRSPlusBtn_Clicked">
|
||
<Image Width="16" Height="16">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
||
<GeometryDrawing Brush="#f4f4f5"
|
||
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.44772 0,8 0,8.55229 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.55229 16,8 16,7.44772 15.5523,7 15,7L9,7 9,1z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnRSMinusBtn"
|
||
Click="PPTBtnRSMinusBtn_Clicked">
|
||
<Image Width="16" Height="16">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
|
||
<GeometryDrawing Brush="#f4f4f5"
|
||
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnRSSyncBtn"
|
||
Click="PPTBtnRSSyncBtn_Clicked">
|
||
<Image Width="16" Height="16">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
|
||
<GeometryDrawing Brush="#f4f4f5"
|
||
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnRSResetBtn"
|
||
Click="PPTBtnRSResetBtn_Clicked">
|
||
<Image Width="16" Height="16">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#f4f4f5"
|
||
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884,8.87377,5.69003,9.5291,5.03471z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
<TextBlock
|
||
Text="{Binding ElementName=PPTButtonRightPositionValueSlider, Path=Value}"
|
||
VerticalAlignment="Center" FontSize="13"
|
||
Margin="8,0,16,0" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock
|
||
Text="# 调大往上偏移,调小往下偏移,修改为0为不偏移,居中放置"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Margin="0,0,24,0" Text="两侧" FontWeight="Bold"
|
||
VerticalAlignment="Center" Foreground="#fafafa"
|
||
FontSize="20" />
|
||
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxSPPTDisplayPage"
|
||
Checked="CheckboxSPPTDisplayPage_IsCheckChange"
|
||
Unchecked="CheckboxSPPTDisplayPage_IsCheckChange">
|
||
显示页码
|
||
</CheckBox>
|
||
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxSPPTHalfOpacity"
|
||
Checked="CheckboxSPPTHalfOpacity_IsCheckChange"
|
||
Unchecked="CheckboxSPPTHalfOpacity_IsCheckChange"
|
||
Margin="16,0,0,0">
|
||
半透明
|
||
</CheckBox>
|
||
<CheckBox IsChecked="True" MinWidth="0"
|
||
Margin="16,0,0,0" Name="CheckboxSPPTBlackBackground"
|
||
Checked="CheckboxSPPTBlackBackground_IsCheckChange"
|
||
Unchecked="CheckboxSPPTBlackBackground_IsCheckChange">
|
||
黑色背景
|
||
</CheckBox>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Margin="0,0,24,0" Text="左下右下" FontWeight="Bold"
|
||
VerticalAlignment="Center" Foreground="#fafafa"
|
||
FontSize="20" />
|
||
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxBPPTDisplayPage"
|
||
Checked="CheckboxBPPTDisplayPage_IsCheckChange"
|
||
Unchecked="CheckboxBPPTDisplayPage_IsCheckChange">
|
||
显示页码
|
||
</CheckBox>
|
||
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxBPPTHalfOpacity"
|
||
Checked="CheckboxBPPTHalfOpacity_IsCheckChange"
|
||
Unchecked="CheckboxBPPTHalfOpacity_IsCheckChange"
|
||
Margin="16,0,0,0">
|
||
半透明
|
||
</CheckBox>
|
||
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxBPPTBlackBackground"
|
||
Checked="CheckboxBPPTBlackBackground_IsCheckChange"
|
||
Unchecked="CheckboxBPPTBlackBackground_IsCheckChange"
|
||
Margin="16,0,0,0">
|
||
黑色背景
|
||
</CheckBox>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||
HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="PPT 页码按钮可点击"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchEnablePPTButtonPageClickable"
|
||
IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchEnablePPTButtonPageClickable_OnToggled" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock
|
||
Text="# 开启该选项后,点击页码按钮可以唤起PowerPoint自带的网格缩略图视图。WPS不支持该功能,开启也没用。"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
</ui:SimpleStackPanel>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Name="SettingsShowCanvasAtNewSlideShowStackPanel"
|
||
Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="进入 PPT 放映时自动进入批注模式"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchShowCanvasAtNewSlideShow" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchShowCanvasAtNewSlideShow_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<Border Name="SettingsPPTInkingAndAutoFoldExplictBorder" BorderBrush="#ef4444"
|
||
BorderThickness="2" Padding="8" CornerRadius="6" Background="#991b1b">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="4">
|
||
<Image Width="20" Height="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F0 M24,24z M0,0z M10.478,6.91759C10.478,6.07778 11.1588,5.39697 11.9986,5.39697 12.8385,5.39697 13.5193,6.07778 13.5193,6.91759L13.5193,12.0001C13.5193,12.8399 12.8385,13.5207 11.9986,13.5207 11.1588,13.5207 10.478,12.8399 10.478,12.0001L10.478,6.91759z M10.478,17.0826C10.478,16.2427,11.1588,15.5619,11.9986,15.5619L12.0114,15.5619C12.8512,15.5619 13.532,16.2427 13.532,17.0826 13.532,17.9224 12.8512,18.6032 12.0114,18.6032L11.9986,18.6032C11.1588,18.6032,10.478,17.9224,10.478,17.0826z M12,0.75C5.7868,0.75 0.75,5.7868 0.75,12 0.75,18.2132 5.7868,23.25 12,23.25 18.2132,23.25 23.25,18.2132 23.25,12 23.25,5.7868 18.2132,0.75 12,0.75z M3.25,12C3.25,7.16751 7.16751,3.25 12,3.25 16.8325,3.25 20.75,7.16751 20.75,12 20.75,16.8325 16.8325,20.75 12,20.75 7.16751,20.75 3.25,16.8325 3.25,12z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Margin="2,0,0,0" FontSize="13" VerticalAlignment="Center"
|
||
Text="该项与“自动化”中的“播放PPT时自动收纳”选项冲突!">
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="允许幻灯片模式下的双指手势" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchEnableTwoFingerGestureInPresentationMode"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchEnableTwoFingerGestureInPresentationMode_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="允许使用手指手势进行幻灯片翻页"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchEnableFingerGestureSlideShowControl"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchEnableFingerGestureSlideShowControl_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock
|
||
Text="# 允许开启画板时使用手指手势进行幻灯片翻页(启用后,在幻灯片放映模式下,当画板无墨迹时,使用手指(笔尖或手掌无法识别)左右滑动即可控制幻灯片翻页。)"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="自动幻灯片截屏" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchAutoSaveScreenShotInPowerPoint" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoSaveScreenShotInPowerPoint_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="# 开启 自动幻灯片截屏 后将会在幻灯片有墨迹时翻页自动截屏" TextWrapping="Wrap"
|
||
Foreground="#a1a1aa" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="自动保存幻灯片墨迹" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchAutoSaveStrokesInPowerPoint" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoSaveStrokesInPowerPoint_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="# 开启 自动保存幻灯片墨迹 后将在结束幻灯片放映时自动将保存已有墨迹,并在下次打开时自动加载(文件名和幻灯片页数都要相同)"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="记忆并提示上次播放位置" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchNotifyPreviousPage" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchNotifyPreviousPage_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="提示隐藏幻灯片" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchNotifyHiddenPage"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchNotifyHiddenPage_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="提示是否已启用自动播放" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchNotifyAutoPlayPresentation" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchNotifyAutoPlayPresentation_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
|
||
</GroupBox>
|
||
<GroupBox>
|
||
<GroupBox.Header>
|
||
<TextBlock Margin="0,12,0,0" Text="高级项" FontWeight="Bold" Foreground="#fafafa"
|
||
FontSize="26" />
|
||
</GroupBox.Header>
|
||
<ui:SimpleStackPanel Spacing="6">
|
||
<TextBlock Text="可在手指触摸画板时显示圆形橡皮或手掌触摸画板时显示的橡皮比
手掌大很多时调整"
|
||
Foreground="#a1a1aa" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="特殊屏幕模式" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchIsSpecialScreen"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchIsSpecialScreen_OnToggled" />
|
||
</ui:SimpleStackPanel>
|
||
<StackPanel Orientation="Vertical">
|
||
<TextBlock Foreground="#fafafa" Text="触摸倍数" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<StackPanel Orientation="Horizontal"
|
||
Visibility="{Binding Visibility,ElementName=TouchMultiplierSlider}">
|
||
<Slider x:Name="TouchMultiplierSlider"
|
||
Minimum="0" Maximum="2"
|
||
Width="340" FontFamily="Microsoft YaHei UI"
|
||
IsSnapToTickEnabled="True"
|
||
TickFrequency="0.01" TickPlacement="None"
|
||
ValueChanged="TouchMultiplierSlider_ValueChanged"
|
||
Visibility="Visible" />
|
||
<TextBlock
|
||
Text="{Binding Value, ElementName=TouchMultiplierSlider, Mode=OneWay}"
|
||
VerticalAlignment="Bottom" Margin="10,0,0,8"
|
||
FontSize="14" Width="30" HorizontalAlignment="Center"
|
||
Visibility="{Binding Path=Visibility, ElementName=TouchMultiplierSlider, Mode=OneWay}" />
|
||
</StackPanel>
|
||
</StackPanel>
|
||
<ui:SimpleStackPanel Spacing="8" Margin="0,4,0,4"
|
||
Visibility="{Binding Visibility,ElementName=TouchMultiplierSlider}">
|
||
<TextBlock FontSize="14" Text="在下方区域内用笔尖点击以估计触摸大小倍数" />
|
||
<TextBlock Text="# 数值仅供参考" Foreground="#a1a1aa" />
|
||
<Border Margin="0,0,20,0" CornerRadius="4" Height="48" Background="Transparent"
|
||
BorderBrush="#a1a1aa" BorderThickness="2"
|
||
TouchDown="BorderCalculateMultiplier_TouchDown" />
|
||
<TextBlock Name="TextBlockShowCalculatedMultiplier" FontSize="14" />
|
||
</ui:SimpleStackPanel>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="橡皮擦绑定触摸大小倍数" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchEraserBindTouchMultiplier" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchEraserBindTouchMultiplier_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<TextBlock Text="# BoundsWidth 参数作为接触面积区分界限,用来区分橡皮和书写模式。笔尖模式参数值应较小。"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
<StackPanel Orientation="Horizontal"
|
||
Visibility="{Binding Visibility,ElementName=TouchMultiplierSlider}">
|
||
<Slider x:Name="NibModeBoundsWidthSlider" Minimum="1" Maximum="50" Width="340"
|
||
FontFamily="Microsoft YaHei UI"
|
||
ui:ControlHelper.Header="笔尖模式 BoundsWidth"
|
||
FontSize="14" IsSnapToTickEnabled="True" TickFrequency="1" Value="5"
|
||
TickPlacement="None"
|
||
ValueChanged="NibModeBoundsWidthSlider_ValueChanged" />
|
||
<TextBlock
|
||
Text="{Binding Value, ElementName=NibModeBoundsWidthSlider, Mode=OneWay}"
|
||
VerticalAlignment="Bottom" Margin="10,0,0,8" FontSize="14" Width="30" />
|
||
</StackPanel>
|
||
<StackPanel Orientation="Horizontal"
|
||
Visibility="{Binding Visibility,ElementName=TouchMultiplierSlider}">
|
||
<Slider x:Name="FingerModeBoundsWidthSlider" Minimum="1" Maximum="50"
|
||
Width="340" FontFamily="Microsoft YaHei UI"
|
||
ui:ControlHelper.Header="手指模式 BoundsWidth"
|
||
FontSize="14" IsSnapToTickEnabled="True" TickFrequency="1" Value="20"
|
||
TickPlacement="None"
|
||
ValueChanged="FingerModeBoundsWidthSlider_ValueChanged" />
|
||
<TextBlock
|
||
Text="{Binding Value, ElementName=FingerModeBoundsWidthSlider, Mode=OneWay}"
|
||
VerticalAlignment="Bottom" Margin="10,0,0,8" FontSize="14" Width="30" />
|
||
</StackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="四边红外模式" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchIsQuadIR"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchIsQuadIR_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="记录日志" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchIsLogEnabled"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchIsLogEnabled_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="# 日志文件超过 512 KB 时会自动删除。" TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="关闭软件时二次弹窗确认" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchIsSecondConfimeWhenShutdownApp" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchIsSecondConfimeWhenShutdownApp_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="启用FullScreenHelper"
|
||
VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,6,0" />
|
||
<Border Height="20" CornerRadius="3" Background="#7f1d1d" Margin="0,0,12,0"
|
||
Padding="4,0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="3"
|
||
VerticalAlignment="Center">
|
||
<Image Width="15" Height="15" VerticalAlignment="Center">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#fca5a5"
|
||
Geometry="F1 M24,24z M0,0z M20.1758,20.0951L15.1058,9.97512C15.0358,9.83512,14.9958,9.68512,14.9958,9.52512L14.9958,2.99512 15.4958,2.99512C16.0458,2.99512 16.4958,2.54512 16.4958,1.99512 16.4958,1.44512 16.0458,0.995117 15.4958,0.995117L8.49582,0.995117C7.94582,0.995117 7.49582,1.44512 7.49582,1.99512 7.49582,2.54512 7.94582,2.99512 8.49582,2.99512L8.99582,2.99512 8.99582,9.52512C8.99582,9.67512,8.95582,9.83512,8.89582,9.97512L3.82582,20.0951C3.67582,20.4051 3.59582,20.7451 3.61582,21.0851 3.62582,21.4251 3.73582,21.7651 3.91582,22.0551 4.09582,22.3451 4.34582,22.5851 4.64582,22.7551 4.94582,22.9151 5.27582,23.0051 5.60582,23.0051L18.3758,23.0051C18.7558,23.0051 19.0558,22.9251 19.3558,22.7551 19.6558,22.5851 19.9058,22.3451 20.0858,22.0551 20.2658,21.7651 20.3658,21.4351 20.3858,21.0851 20.3958,20.7451 20.3258,20.4051 20.1758,20.1051L20.1758,20.0951z M10.6858,10.8651C10.8958,10.4451,11.0058,9.98512,11.0058,9.52512L11.0058,2.99512 13.0058,2.99512 13.0058,9.52512C13.0058,9.98512,13.1158,10.4551,13.3258,10.8651L15.3858,14.9951 8.62582,14.9951 10.6958,10.8651 10.6858,10.8651z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Foreground="#fca5a5" Text="实验性选项" FontSize="12"
|
||
VerticalAlignment="Center">
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchIsEnableFullScreenHelper"
|
||
Toggled="ToggleSwitchIsEnableFullScreenHelper_Toggled"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
|
||
Text="# 感谢lindexi大佬提供的FullScreenHelper,可以减少任务栏弹出的问题,且支持多显示器自动全屏(虽然对icc来说没什么用就是了),如果遇到一些玄学问题,可以关闭该功能,重启icc后生效。" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
|
||
<TextBlock Foreground="#fafafa" Text="启用AvoidFullScreenHelper"
|
||
VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,6,0" />
|
||
<Border Height="20" CornerRadius="3" Background="#7f1d1d" Margin="0,0,12,0"
|
||
Padding="4,0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="3"
|
||
VerticalAlignment="Center">
|
||
<Image Width="15" Height="15" VerticalAlignment="Center">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#fca5a5"
|
||
Geometry="F1 M24,24z M0,0z M20.1758,20.0951L15.1058,9.97512C15.0358,9.83512,14.9958,9.68512,14.9958,9.52512L14.9958,2.99512 15.4958,2.99512C16.0458,2.99512 16.4958,2.54512 16.4958,1.99512 16.4958,1.44512 16.0458,0.995117 15.4958,0.995117L8.49582,0.995117C7.94582,0.995117 7.49582,1.44512 7.49582,1.99512 7.49582,2.54512 7.94582,2.99512 8.49582,2.99512L8.99582,2.99512 8.99582,9.52512C8.99582,9.67512,8.95582,9.83512,8.89582,9.97512L3.82582,20.0951C3.67582,20.4051 3.59582,20.7451 3.61582,21.0851 3.62582,21.4251 3.73582,21.7651 3.91582,22.0551 4.09582,22.3451 4.34582,22.5851 4.64582,22.7551 4.94582,22.9151 5.27582,23.0051 5.60582,23.0051L18.3758,23.0051C18.7558,23.0051 19.0558,22.9251 19.3558,22.7551 19.6558,22.5851 19.9058,22.3451 20.0858,22.0551 20.2658,21.7651 20.3658,21.4351 20.3858,21.0851 20.3958,20.7451 20.3258,20.4051 20.1758,20.1051L20.1758,20.0951z M10.6858,10.8651C10.8958,10.4451,11.0058,9.98512,11.0058,9.52512L11.0058,2.99512 13.0058,2.99512 13.0058,9.52512C13.0058,9.98512,13.1158,10.4551,13.3258,10.8651L15.3858,14.9951 8.62582,14.9951 10.6958,10.8651 10.6858,10.8651z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Foreground="#fca5a5" Text="实验性选项" FontSize="12"
|
||
VerticalAlignment="Center">
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchIsEnableAvoidFullScreenHelper"
|
||
Toggled="ToggleSwitchIsEnableAvoidFullScreenHelper_OnToggled"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
|
||
Text="# 避免画布全屏,重启icc后生效。" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
|
||
<TextBlock Foreground="#fafafa" Text="启用EdgeGestureUtil"
|
||
VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,6,0" />
|
||
<Border Height="20" CornerRadius="3" Background="#7f1d1d" Margin="0,0,12,0"
|
||
Padding="4,0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="3"
|
||
VerticalAlignment="Center">
|
||
<Image Width="15" Height="15" VerticalAlignment="Center">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#fca5a5"
|
||
Geometry="F1 M24,24z M0,0z M20.1758,20.0951L15.1058,9.97512C15.0358,9.83512,14.9958,9.68512,14.9958,9.52512L14.9958,2.99512 15.4958,2.99512C16.0458,2.99512 16.4958,2.54512 16.4958,1.99512 16.4958,1.44512 16.0458,0.995117 15.4958,0.995117L8.49582,0.995117C7.94582,0.995117 7.49582,1.44512 7.49582,1.99512 7.49582,2.54512 7.94582,2.99512 8.49582,2.99512L8.99582,2.99512 8.99582,9.52512C8.99582,9.67512,8.95582,9.83512,8.89582,9.97512L3.82582,20.0951C3.67582,20.4051 3.59582,20.7451 3.61582,21.0851 3.62582,21.4251 3.73582,21.7651 3.91582,22.0551 4.09582,22.3451 4.34582,22.5851 4.64582,22.7551 4.94582,22.9151 5.27582,23.0051 5.60582,23.0051L18.3758,23.0051C18.7558,23.0051 19.0558,22.9251 19.3558,22.7551 19.6558,22.5851 19.9058,22.3451 20.0858,22.0551 20.2658,21.7651 20.3658,21.4351 20.3858,21.0851 20.3958,20.7451 20.3258,20.4051 20.1758,20.1051L20.1758,20.0951z M10.6858,10.8651C10.8958,10.4451,11.0058,9.98512,11.0058,9.52512L11.0058,2.99512 13.0058,2.99512 13.0058,9.52512C13.0058,9.98512,13.1158,10.4551,13.3258,10.8651L15.3858,14.9951 8.62582,14.9951 10.6958,10.8651 10.6858,10.8651z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Foreground="#fca5a5" Text="实验性选项" FontSize="12"
|
||
VerticalAlignment="Center">
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Toggled="ToggleSwitchIsEnableEdgeGestureUtil_Toggled"
|
||
Name="ToggleSwitchIsEnableEdgeGestureUtil" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa">
|
||
<Run
|
||
Text="# EdgeGestureUtil是icc最新引入的可以暂时阻止在使用触摸时触发边缘手势(如Windows10环境下,屏幕左边缘滑动进入任务视图,右边缘滑动弹出通知中心;Windows11环境下,底部向上滑动打开开始菜单),其原理是使用了" />
|
||
<Run FontFamily="Consolas" Text="System.EdgeGesture.DisableTouchWhenFullscreen" />
|
||
<Run
|
||
Text="(当应用程序窗口处于活动状态且处于全屏模式 (或拥有的窗口) 处于活动状态时,防止边缘手势行为。)来实现的。如果有异常,请关闭该选项,该选项应该能够实时生效。(Win7和Win8用户该选项无法使用)" />
|
||
</TextBlock>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="启用ForceFullScreen"
|
||
VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,6,0" />
|
||
<Border Height="20" CornerRadius="3" Background="#7f1d1d" Margin="0,0,12,0"
|
||
Padding="4,0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="3"
|
||
VerticalAlignment="Center">
|
||
<Image Width="15" Height="15" VerticalAlignment="Center">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#fca5a5"
|
||
Geometry="F1 M24,24z M0,0z M20.1758,20.0951L15.1058,9.97512C15.0358,9.83512,14.9958,9.68512,14.9958,9.52512L14.9958,2.99512 15.4958,2.99512C16.0458,2.99512 16.4958,2.54512 16.4958,1.99512 16.4958,1.44512 16.0458,0.995117 15.4958,0.995117L8.49582,0.995117C7.94582,0.995117 7.49582,1.44512 7.49582,1.99512 7.49582,2.54512 7.94582,2.99512 8.49582,2.99512L8.99582,2.99512 8.99582,9.52512C8.99582,9.67512,8.95582,9.83512,8.89582,9.97512L3.82582,20.0951C3.67582,20.4051 3.59582,20.7451 3.61582,21.0851 3.62582,21.4251 3.73582,21.7651 3.91582,22.0551 4.09582,22.3451 4.34582,22.5851 4.64582,22.7551 4.94582,22.9151 5.27582,23.0051 5.60582,23.0051L18.3758,23.0051C18.7558,23.0051 19.0558,22.9251 19.3558,22.7551 19.6558,22.5851 19.9058,22.3451 20.0858,22.0551 20.2658,21.7651 20.3658,21.4351 20.3858,21.0851 20.3958,20.7451 20.3258,20.4051 20.1758,20.1051L20.1758,20.0951z M10.6858,10.8651C10.8958,10.4451,11.0058,9.98512,11.0058,9.52512L11.0058,2.99512 13.0058,2.99512 13.0058,9.52512C13.0058,9.98512,13.1158,10.4551,13.3258,10.8651L15.3858,14.9951 8.62582,14.9951 10.6958,10.8651 10.6858,10.8651z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Foreground="#fca5a5" Text="实验性选项" FontSize="12"
|
||
VerticalAlignment="Center">
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Toggled="ToggleSwitchIsEnableForceFullScreen_Toggled"
|
||
Name="ToggleSwitchIsEnableForceFullScreen" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
|
||
Text="# 当检测到窗口大小变化时,自动使用Win32API将本窗口的大小设置为主显示器大小(设备像素大小),不需要可以关闭,实时生效。" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="启用DPIChangeDetection"
|
||
VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,6,0" />
|
||
<Border Height="20" CornerRadius="3" Background="#7f1d1d" Margin="0,0,12,0"
|
||
Padding="4,0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="3"
|
||
VerticalAlignment="Center">
|
||
<Image Width="15" Height="15" VerticalAlignment="Center">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#fca5a5"
|
||
Geometry="F1 M24,24z M0,0z M20.1758,20.0951L15.1058,9.97512C15.0358,9.83512,14.9958,9.68512,14.9958,9.52512L14.9958,2.99512 15.4958,2.99512C16.0458,2.99512 16.4958,2.54512 16.4958,1.99512 16.4958,1.44512 16.0458,0.995117 15.4958,0.995117L8.49582,0.995117C7.94582,0.995117 7.49582,1.44512 7.49582,1.99512 7.49582,2.54512 7.94582,2.99512 8.49582,2.99512L8.99582,2.99512 8.99582,9.52512C8.99582,9.67512,8.95582,9.83512,8.89582,9.97512L3.82582,20.0951C3.67582,20.4051 3.59582,20.7451 3.61582,21.0851 3.62582,21.4251 3.73582,21.7651 3.91582,22.0551 4.09582,22.3451 4.34582,22.5851 4.64582,22.7551 4.94582,22.9151 5.27582,23.0051 5.60582,23.0051L18.3758,23.0051C18.7558,23.0051 19.0558,22.9251 19.3558,22.7551 19.6558,22.5851 19.9058,22.3451 20.0858,22.0551 20.2658,21.7651 20.3658,21.4351 20.3858,21.0851 20.3958,20.7451 20.3258,20.4051 20.1758,20.1051L20.1758,20.0951z M10.6858,10.8651C10.8958,10.4451,11.0058,9.98512,11.0058,9.52512L11.0058,2.99512 13.0058,2.99512 13.0058,9.52512C13.0058,9.98512,13.1158,10.4551,13.3258,10.8651L15.3858,14.9951 8.62582,14.9951 10.6958,10.8651 10.6858,10.8651z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Foreground="#fca5a5" Text="实验性选项" FontSize="12"
|
||
VerticalAlignment="Center">
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Toggled="ToggleSwitchIsEnableDPIChangeDetection_Toggled"
|
||
Name="ToggleSwitchIsEnableDPIChangeDetection" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
|
||
Text="# 当检测到系统DPI变化时,会尝试检测FloatingBar是否在屏幕内显示,如果不在屏幕内显示将会尝试移动到屏幕内可见区域(DPI调大会触发,如果DPI调小是不会触发工具栏位置移动的,请您手动调整)。" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="启用ResolutionChangeDetection"
|
||
VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,6,0" />
|
||
<Border Height="20" CornerRadius="3" Background="#7f1d1d" Margin="0,0,12,0"
|
||
Padding="4,0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="3"
|
||
VerticalAlignment="Center">
|
||
<Image Width="15" Height="15" VerticalAlignment="Center">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#fca5a5"
|
||
Geometry="F1 M24,24z M0,0z M20.1758,20.0951L15.1058,9.97512C15.0358,9.83512,14.9958,9.68512,14.9958,9.52512L14.9958,2.99512 15.4958,2.99512C16.0458,2.99512 16.4958,2.54512 16.4958,1.99512 16.4958,1.44512 16.0458,0.995117 15.4958,0.995117L8.49582,0.995117C7.94582,0.995117 7.49582,1.44512 7.49582,1.99512 7.49582,2.54512 7.94582,2.99512 8.49582,2.99512L8.99582,2.99512 8.99582,9.52512C8.99582,9.67512,8.95582,9.83512,8.89582,9.97512L3.82582,20.0951C3.67582,20.4051 3.59582,20.7451 3.61582,21.0851 3.62582,21.4251 3.73582,21.7651 3.91582,22.0551 4.09582,22.3451 4.34582,22.5851 4.64582,22.7551 4.94582,22.9151 5.27582,23.0051 5.60582,23.0051L18.3758,23.0051C18.7558,23.0051 19.0558,22.9251 19.3558,22.7551 19.6558,22.5851 19.9058,22.3451 20.0858,22.0551 20.2658,21.7651 20.3658,21.4351 20.3858,21.0851 20.3958,20.7451 20.3258,20.4051 20.1758,20.1051L20.1758,20.0951z M10.6858,10.8651C10.8958,10.4451,11.0058,9.98512,11.0058,9.52512L11.0058,2.99512 13.0058,2.99512 13.0058,9.52512C13.0058,9.98512,13.1158,10.4551,13.3258,10.8651L15.3858,14.9951 8.62582,14.9951 10.6958,10.8651 10.6858,10.8651z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Foreground="#fca5a5" Text="实验性选项" FontSize="12"
|
||
VerticalAlignment="Center">
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
Toggled="ToggleSwitchIsEnableResolutionChangeDetection_Toggled"
|
||
Name="ToggleSwitchIsEnableResolutionChangeDetection"
|
||
IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
|
||
Text="# 当检测到系统分辨率变化时,会尝试检测FloatingBar是否在屏幕内显示,如果不在屏幕内显示将会尝试移动到屏幕内可见区域(分辨率调小可能会触发,如果在屏幕内不会自动调整位置,请手动挡)。" />
|
||
</ui:SimpleStackPanel>
|
||
</GroupBox>
|
||
<GroupBox>
|
||
<GroupBox.Header>
|
||
<TextBlock Margin="0,12,0,0" Text="自动化" FontWeight="Bold" Foreground="#fafafa"
|
||
FontSize="26" />
|
||
</GroupBox.Header>
|
||
<ui:SimpleStackPanel Spacing="6">
|
||
<TextBlock Margin="0,0,0,8" Text="自动收纳" FontWeight="Bold" Foreground="#fafafa"
|
||
FontSize="20" />
|
||
<Grid Margin="4,0">
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition />
|
||
<RowDefinition />
|
||
<RowDefinition />
|
||
<RowDefinition />
|
||
</Grid.RowDefinitions>
|
||
<Grid.ColumnDefinitions>
|
||
<ColumnDefinition />
|
||
<ColumnDefinition />
|
||
<ColumnDefinition />
|
||
<ColumnDefinition />
|
||
</Grid.ColumnDefinitions>
|
||
<ui:SimpleStackPanel Grid.Row="0" Grid.Column="0" Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/EasiNote.png" Margin="0,0,0,4"
|
||
Width="42"
|
||
Height="42" HorizontalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="希沃白板5" HorizontalAlignment="Center"
|
||
FontSize="14" Margin="0,0,0,4" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
HorizontalAlignment="Center"
|
||
Name="ToggleSwitchAutoFoldInEasiNote" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInEasiNote_Toggled"
|
||
Width="40" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Grid.Row="0" Grid.Column="1" Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/EasiCamera.png" Margin="0,0,0,4"
|
||
Width="42"
|
||
Height="42" HorizontalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="希沃展台" HorizontalAlignment="Center"
|
||
FontSize="14" Margin="0,0,0,4" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
HorizontalAlignment="Center"
|
||
Name="ToggleSwitchAutoFoldInEasiCamera" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInEasiCamera_Toggled"
|
||
Width="40" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Grid.Row="0" Grid.Column="2" Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/EasiNote3.png" Margin="0,0,0,4"
|
||
Width="42"
|
||
Height="42" HorizontalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="希沃白板3" HorizontalAlignment="Center"
|
||
FontSize="14" Margin="0,0,0,4" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
HorizontalAlignment="Center"
|
||
Name="ToggleSwitchAutoFoldInEasiNote3" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInEasiNote3_Toggled"
|
||
Width="40" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Grid.Row="0" Grid.Column="3" Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/EasiNote3C.png" Margin="0,0,0,4"
|
||
Width="42"
|
||
Height="42" HorizontalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="希沃轻白板" HorizontalAlignment="Center"
|
||
FontSize="14" Margin="0,0,0,4" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
HorizontalAlignment="Center"
|
||
Name="ToggleSwitchAutoFoldInEasiNote3C" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInEasiNote3C_Toggled"
|
||
Width="40" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,18,0,0" Grid.Row="1" Grid.Column="0"
|
||
Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/EasiNote5C.png" Margin="0,0,0,4"
|
||
Width="42"
|
||
Height="42" HorizontalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="希沃轻白板5C" HorizontalAlignment="Center"
|
||
FontSize="14" Margin="0,0,0,4" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
HorizontalAlignment="Center"
|
||
Name="ToggleSwitchAutoFoldInEasiNote5C" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInEasiNote5C_Toggled"
|
||
Width="40" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,18,0,0" Grid.Row="1" Grid.Column="1"
|
||
Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/SeewoPinco.png" Margin="0,0,0,4"
|
||
Width="42"
|
||
Height="42" HorizontalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="希沃品课" HorizontalAlignment="Center"
|
||
FontSize="14" Margin="0,0,0,4" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
HorizontalAlignment="Center"
|
||
Name="ToggleSwitchAutoFoldInSeewoPincoTeacher" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInSeewoPincoTeacher_Toggled"
|
||
Width="40" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,18,0,0" Grid.Row="1" Grid.Column="2"
|
||
Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/HiteBoard.png" Margin="0,0,0,4"
|
||
Width="42"
|
||
Height="42" HorizontalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="鸿合白板" HorizontalAlignment="Center"
|
||
FontSize="14" Margin="0,0,0,4" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
HorizontalAlignment="Center"
|
||
Name="ToggleSwitchAutoFoldInHiteTouchPro" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInHiteTouchPro_Toggled"
|
||
Width="40" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,18,0,0" Grid.Row="1" Grid.Column="3"
|
||
Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/HiteCamera.png" Margin="0,0,0,4"
|
||
Width="42"
|
||
Height="42" HorizontalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="鸿合展台" HorizontalAlignment="Center"
|
||
FontSize="14" Margin="0,0,0,4" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
HorizontalAlignment="Center"
|
||
Name="ToggleSwitchAutoFoldInHiteCamera" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInHiteCamera_Toggled"
|
||
Width="40" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,18,0,0" Grid.Row="2" Grid.Column="0"
|
||
Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/HiteLightBoard.png" Margin="0,0,0,4"
|
||
Width="42"
|
||
Height="42" HorizontalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="鸿合轻量白板" HorizontalAlignment="Center"
|
||
FontSize="14" Margin="0,0,0,4" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
HorizontalAlignment="Center"
|
||
Name="ToggleSwitchAutoFoldInHiteLightBoard" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInHiteLightBoard_Toggled"
|
||
Width="40" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,18,0,0" Grid.Row="2" Grid.Column="1"
|
||
Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/WenXiang.png" Margin="0,0,0,4"
|
||
Width="42"
|
||
Height="42" HorizontalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="文香白板" HorizontalAlignment="Center"
|
||
FontSize="14" Margin="0,0,0,4" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
HorizontalAlignment="Center"
|
||
Name="ToggleSwitchAutoFoldInWxBoardMain" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInWxBoardMain_Toggled"
|
||
Width="40" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,18,0,0" Grid.Row="2" Grid.Column="2"
|
||
Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/Whiteboard.png" Margin="0,0,0,4"
|
||
Width="42"
|
||
Height="42" HorizontalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="微软白板" HorizontalAlignment="Center"
|
||
FontSize="14" Margin="0,0,0,4" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
HorizontalAlignment="Center"
|
||
Name="ToggleSwitchAutoFoldInMSWhiteboard" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInMSWhiteboard_Toggled"
|
||
Width="40" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,18,0,0" Grid.Row="2" Grid.Column="3"
|
||
Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/AdmoxWhiteboard.png" Margin="0,0,0,4"
|
||
Width="42"
|
||
Height="42" HorizontalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="安道白板" HorizontalAlignment="Center"
|
||
FontSize="14" Margin="0,0,0,4" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
HorizontalAlignment="Center"
|
||
Name="ToggleSwitchAutoFoldInAdmoxWhiteboard" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInAdmoxWhiteboard_Toggled"
|
||
Width="40" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,18,0,0" Grid.Row="3" Grid.Column="0"
|
||
Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/AdmoxBooth.png" Margin="0,0,0,4"
|
||
Width="42"
|
||
Height="42" HorizontalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="安道展台" HorizontalAlignment="Center"
|
||
FontSize="14" Margin="0,0,0,4" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
HorizontalAlignment="Center"
|
||
Name="ToggleSwitchAutoFoldInAdmoxBooth" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInAdmoxBooth_Toggled"
|
||
Width="40" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,18,0,0" Grid.Row="3" Grid.Column="1"
|
||
Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/YiYunWhiteboard.png" Margin="0,0,0,4"
|
||
Width="42"
|
||
Height="42" HorizontalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="艺云白板" HorizontalAlignment="Center"
|
||
FontSize="14" Margin="0,0,0,4" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
HorizontalAlignment="Center"
|
||
Name="ToggleSwitchAutoFoldInQPoint" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInQPoint_Toggled" Width="40" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,18,0,0" Grid.Row="3" Grid.Column="2"
|
||
Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/YiYunVisualPresenter.png"
|
||
Margin="0,0,0,4" Width="42"
|
||
Height="42" HorizontalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="艺云展台" HorizontalAlignment="Center"
|
||
FontSize="14" Margin="0,0,0,4" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
HorizontalAlignment="Center"
|
||
Name="ToggleSwitchAutoFoldInYiYunVisualPresenter"
|
||
IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInYiYunVisualPresenter_Toggled"
|
||
Width="40" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,18,0,0" Grid.Row="3" Grid.Column="3"
|
||
Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/MaxHubWhiteboard.png" Margin="0,0,0,4"
|
||
Width="42"
|
||
Height="42" HorizontalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="MaxHub白板"
|
||
HorizontalAlignment="Center"
|
||
FontSize="14" Margin="0,0,0,4" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
HorizontalAlignment="Center"
|
||
Name="ToggleSwitchAutoFoldInMaxHubWhiteboard" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInMaxHubWhiteboard_Toggled"
|
||
Width="40" />
|
||
</ui:SimpleStackPanel>
|
||
</Grid>
|
||
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<Image Source="/Resources/Icons-png/EasiNote.png" Margin="0,0,6,0" Width="28"
|
||
Height="28" VerticalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="自动收纳忽略桌面EN5批注窗口"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
Name="ToggleSwitchAutoFoldInEasiNoteIgnoreDesktopAnno"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInEasiNoteIgnoreDesktopAnno_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<Image Source="/Resources/Icons-png/Donview.png" Margin="0,0,6,0" Width="28"
|
||
Height="28" VerticalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="进入“中原旧白板”时自动收纳"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
Name="ToggleSwitchAutoFoldInOldZyBoard" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInOldZyBoard_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<Image Source="/Resources/Icons-png/Powerpoint.png" Margin="0,0,6,0" Width="28"
|
||
Height="28" VerticalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="播放PPT时自动收纳" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
||
Name="ToggleSwitchAutoFoldInPPTSlideShow" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoFoldInPPTSlideShow_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<TextBlock Margin="0,0,0,8" Text="自动查杀" FontWeight="Bold" Foreground="#fafafa"
|
||
FontSize="20" />
|
||
<!--<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchAutoFoldInZySmartBoard" Header="进入“中原新白板(相似鸿合)”时自动收纳至侧边栏" IsOn="False" FontFamily="Microsoft YaHei UI" Toggled="ToggleSwitchAutoFoldInZySmartBoard_Toggled"/>-->
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<Image Source="/Resources/Icons-png/PPTTools.png" Margin="0,0,6,0" Width="28"
|
||
Height="28" VerticalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="自动查杀希沃“PPT 小工具”"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchAutoKillPptService" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoKillPptService_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock
|
||
Text="# 请注意,查杀 PPT 小工具会导致希沃课堂授课助手无法使用,直接进入希沃课堂授课助手安装目录删除 Office.dll 文件即可进入 PPT 放映时不会启动希沃的 PPT 工具栏。"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<Image Source="/Resources/Icons-png/EasiNote.png" Margin="0,0,6,0" Width="28"
|
||
Height="28" VerticalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="自动查杀 希沃白板5" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchAutoKillEasiNote"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoKillEasiNote_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<Image Source="/Resources/Icons-png/HiteAnnotation.png" Margin="0,0,6,0"
|
||
Width="28"
|
||
Height="28" VerticalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="自动查杀 鸿合屏幕书写" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchAutoKillHiteAnnotation"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoKillHiteAnnotation_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<Image Source="/Resources/Icons-png/VComYouJiao.png" Margin="0,0,6,0"
|
||
Width="28"
|
||
Height="28" VerticalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="自动查杀 优教授课端" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchAutoKillVComYouJiao"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoKillVComYouJiao_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<Image Source="/Resources/Icons-png/Seewo2Annotation.png" Margin="0,0,6,0"
|
||
Width="28"
|
||
Height="28" VerticalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="自动查杀 希沃桌面2.0 桌面批注"
|
||
VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchAutoKillSeewoLauncher2DesktopAnnotation"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoKillSeewoLauncher2DesktopAnnotation_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa">
|
||
<Run Text="# 由于希沃桌面2.0提供的桌面批注是64位应用程序,icc是32位程序无法访问,所以目前暂不做精准匹配,只匹配进程名称" />
|
||
<Run FontFamily="Consolas">DesktopAnnotation</Run>
|
||
<Run Text=",后面会考虑封装一套基于P/Invoke和WMI的综合进程识别方案。如果遇到同进程名的软件直接不开启该选项就行了,见谅!" />
|
||
</TextBlock>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<TextBlock Margin="0,0,0,8" Text="同类软件查杀" FontWeight="Bold" Foreground="#fafafa"
|
||
FontSize="20" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<Image Source="/Resources/Icons-png/InkCanvas.png" Margin="0,0,6,0"
|
||
Width="28"
|
||
Height="28" VerticalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="自动查杀 Ink Canvas 和 IC+"
|
||
VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchAutoKillInkCanvas"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoKillInkCanvas_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<Image Source="/Resources/Icons-png/ica.png" Margin="0,0,6,0"
|
||
Width="28"
|
||
Height="28" VerticalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="自动查杀ICA(新版旧版通杀)"
|
||
VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchAutoKillICA"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoKillICA_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<Image Source="/Resources/Icons-png/idt.png" Margin="0,0,6,0"
|
||
Width="28"
|
||
Height="28" VerticalAlignment="Center" />
|
||
<TextBlock Foreground="#fafafa" Text="自动查杀 智绘教Inkeys(仅限新版)" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchAutoKillIDT"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoKillIDT_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="清屏时自动截图" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchAutoSaveStrokesAtClear" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoSaveStrokesAtClear_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="截图分日期文件夹保存" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchSaveScreenshotsInDateFolders" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchSaveScreenshotsInDateFolders_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="截图时自动保存墨迹" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchAutoSaveStrokesAtScreenshot" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoSaveStrokesAtScreenshot_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="自动截图最小墨迹量" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<Slider x:Name="SideControlMinimumAutomationSlider" Minimum="0.3"
|
||
Maximum="1" Width="168" FontFamily="Microsoft YaHei UI"
|
||
FontSize="20" IsSnapToTickEnabled="True" Value="1" TickFrequency="0.05"
|
||
TickPlacement="None" AutoToolTipPlacement="None"
|
||
ValueChanged="SideControlMinimumAutomationSlider_ValueChanged" />
|
||
<TextBlock
|
||
Text="{Binding ElementName=SideControlMinimumAutomationSlider, Path=Value, Converter={StaticResource IntNumberToString2} }"
|
||
VerticalAlignment="Center" FontSize="14" FontFamily="Consolas"
|
||
Margin="12,0,16,0" />
|
||
</ui:SimpleStackPanel>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Vertical" HorizontalAlignment="Left" Spacing="8">
|
||
<TextBlock Foreground="#fafafa" Text="墨迹与截图的保存路径" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="10">
|
||
<TextBox Width="320" x:Name="AutoSavedStrokesLocation"
|
||
Text="{Binding AppDomain.CurrentDomain.BaseDirectory, StringFormat={}Saves}"
|
||
TextWrapping="Wrap"
|
||
TextChanged="AutoSavedStrokesLocationTextBox_TextChanged" />
|
||
<Button Name="AutoSavedStrokesLocationButton" Content="浏览"
|
||
Click="AutoSavedStrokesLocationButton_Click" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="12">
|
||
<Button Name="SetAutoSavedStrokesLocationToDiskDButton"
|
||
Content="设置保存到 D:\Ink Canvas"
|
||
Click="SetAutoSavedStrokesLocationToDiskDButton_Click" />
|
||
<Button Name="SetAutoSavedStrokesLocationToDocumentFolderButton"
|
||
Content="设置保存到 文档"
|
||
Click="SetAutoSavedStrokesLocationToDocumentFolderButton_Click" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="# 请注意检查保存文件夹是否有写入权限" TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
</ui:SimpleStackPanel>
|
||
|
||
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="定期自动删除超过保存时间的墨迹、截图文件"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchAutoDelSavedFiles" IsOn="True"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
|
||
Toggled="ToggleSwitchAutoDelSavedFiles_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="# 请注意如果开启自动删除功能,将会删除自动保存目录下所有后缀名为 .icstk 和 .png 的文件!"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="保存时长" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<ComboBox Name="ComboBoxAutoDelSavedFilesDaysThreshold"
|
||
FontFamily="Microsoft YaHei UI"
|
||
SelectedIndex="4"
|
||
SelectionChanged="ComboBoxAutoDelSavedFilesDaysThreshold_SelectionChanged">
|
||
<ComboBoxItem Content="1" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="3" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="5" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="7" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="15" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="30" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="60" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="100" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="365" FontFamily="Microsoft YaHei UI" />
|
||
</ComboBox>
|
||
<TextBlock Foreground="#fafafa" Text="天" VerticalAlignment="Center"
|
||
FontSize="14" Margin="8,0,0,0" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</GroupBox>
|
||
<GroupBox Name="GroupBoxRandWindow">
|
||
<GroupBox.Header>
|
||
<TextBlock Margin="0,12,0,0" Text="随机点名" FontWeight="Bold" Foreground="#fafafa"
|
||
FontSize="26" />
|
||
</GroupBox.Header>
|
||
<ui:SimpleStackPanel Spacing="6">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="显示修改随机点名名单的按钮"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchDisplayRandWindowNamesInputBtn"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI"
|
||
FontWeight="Bold"
|
||
Toggled="ToggleSwitchDisplayRandWindowNamesInputBtn_OnToggled" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="启用随机抽和单次抽按钮"
|
||
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
||
<ui:ToggleSwitch OnContent="" OffContent=""
|
||
Name="ToggleSwitchShowRandomAndSingleDraw"
|
||
IsOn="True" FontFamily="Microsoft YaHei UI"
|
||
FontWeight="Bold"
|
||
Toggled="ToggleSwitchShowRandomAndSingleDraw_Toggled" />
|
||
</ui:SimpleStackPanel>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
||
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="单次抽人窗口关闭延迟" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<Slider x:Name="RandWindowOnceCloseLatencySlider" Minimum="0.5"
|
||
Maximum="8" Width="168" FontFamily="Microsoft YaHei UI"
|
||
FontSize="20" IsSnapToTickEnabled="True" Value="2.5"
|
||
TickFrequency="0.1"
|
||
ValueChanged="RandWindowOnceCloseLatencySlider_ValueChanged"
|
||
TickPlacement="None" AutoToolTipPlacement="None" />
|
||
<StackPanel Orientation="Horizontal" VerticalAlignment="Center"
|
||
Margin="12,0,16,0">
|
||
<TextBlock FontSize="14" FontFamily="Consolas"
|
||
Text="{Binding ElementName=RandWindowOnceCloseLatencySlider, Path=Value}" />
|
||
<TextBlock FontSize="14" FontFamily="Consolas">s</TextBlock>
|
||
</StackPanel>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||
<TextBlock Foreground="#fafafa" Text="单次随机点名人数上限" VerticalAlignment="Center"
|
||
FontSize="14" Margin="0,0,16,0" />
|
||
<Slider x:Name="RandWindowOnceMaxStudentsSlider" Minimum="0"
|
||
Maximum="20" Width="168" FontFamily="Microsoft YaHei UI"
|
||
ValueChanged="RandWindowOnceMaxStudentsSlider_ValueChanged"
|
||
FontSize="20" IsSnapToTickEnabled="True" Value="10" TickFrequency="1"
|
||
TickPlacement="None" AutoToolTipPlacement="None" />
|
||
<TextBlock VerticalAlignment="Center" Margin="12,0,16,0" FontSize="14"
|
||
FontFamily="Consolas"
|
||
Text="{Binding ElementName=RandWindowOnceMaxStudentsSlider, Path=Value, Converter={StaticResource IntNumberToString}}" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</GroupBox>
|
||
<GroupBox>
|
||
<GroupBox.Header>
|
||
<TextBlock Margin="0,12,0,0" Text="关于" FontWeight="Bold" Foreground="#fafafa"
|
||
FontSize="26" />
|
||
</GroupBox.Header>
|
||
<ui:SimpleStackPanel Spacing="12">
|
||
<ui:SimpleStackPanel Orientation="Horizontal">
|
||
<TextBlock FontSize="18" FontWeight="Bold" Text="Version:" />
|
||
<TextBlock x:Name="AppVersionTextBlock" FontSize="18" FontWeight="Bold"
|
||
Text="1.X.X.X" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock
|
||
Text="# 使用和分发本软件前,请您应当且务必知晓相关开源协议,且您应当知晓本软件基于 https://github.com/WXRIW/Ink-Canvas 修改而成。"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
<Border BorderBrush="#a1a1aa" BorderThickness="1" CornerRadius="8"
|
||
Background="#18181b">
|
||
<ui:SimpleStackPanel Orientation="Vertical" Margin="8">
|
||
<ui:SimpleStackPanel Orientation="Horizontal">
|
||
<Image Width="32" Height="32" VerticalAlignment="Top">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F0 M24,24z M0,0z M12.875,3C12.875,2.51675 12.4832,2.125 12,2.125 11.5168,2.125 11.125,2.51675 11.125,3L11.125,4.25876 5.86249,5.13585C5.84299,5.13895 5.82367,5.1427 5.80454,5.14708 5.62042,5.1891 5.46195,5.28735 5.34446,5.4204 5.31167,5.45747 5.28185,5.49755 5.25544,5.54036 5.23979,5.56568 5.22542,5.59181 5.2124,5.61865L2.21738,11.6087C2.15663,11.7302 2.125,11.8642 2.125,12 2.125,13.0277 2.53326,14.0133 3.25996,14.74 3.98667,15.4667 4.97229,15.875 6,15.875 7.02771,15.875 8.01334,15.4667 8.74004,14.74 9.46674,14.0133 9.875,13.0277 9.875,12 9.875,11.8642 9.84337,11.7302 9.78262,11.6087L7.31244,6.66833 11.125,6.0329 11.125,19.125 7,19.125C6.51675,19.125 6.125,19.5168 6.125,20 6.125,20.4832 6.51675,20.875 7,20.875L17,20.875C17.4832,20.875 17.875,20.4832 17.875,20 17.875,19.5168 17.4832,19.125 17,19.125L12.875,19.125 12.875,6.0329 16.6876,6.66833 14.2174,11.6087C14.1566,11.7302 14.125,11.8642 14.125,12 14.125,13.0277 14.5333,14.0133 15.26,14.74 15.9867,15.4667 16.9723,15.875 18,15.875 19.0277,15.875 20.0133,15.4667 20.74,14.74 21.4667,14.0133 21.875,13.0277 21.875,12 21.875,11.8642 21.8434,11.7302 21.7826,11.6087L18.7876,5.61864C18.7746,5.5918 18.7602,5.56567 18.7446,5.54036 18.7182,5.49755 18.6883,5.45747 18.6555,5.4204 18.538,5.28735 18.3796,5.1891 18.1955,5.14708 18.1763,5.1427 18.157,5.13895 18.1375,5.13585L12.875,4.25876 12.875,3z M3.88347,12.1896C3.92772,12.6837 4.14382,13.149 4.4974,13.5026 4.89591,13.9011 5.43641,14.125 6,14.125 6.56359,14.125 7.10409,13.9011 7.5026,13.5026 7.85618,13.149 8.07228,12.6837 8.11653,12.1896L6,7.95656 3.88347,12.1896z M16.4974,13.5026C16.1438,13.149,15.9277,12.6837,15.8835,12.1896L18,7.95656 20.1165,12.1896C20.0723,12.6837 19.8562,13.149 19.5026,13.5026 19.1041,13.9011 18.5636,14.125 18,14.125 17.4364,14.125 16.8959,13.9011 16.4974,13.5026z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<StackPanel Orientation="Vertical" Margin="4,0,0,0">
|
||
<TextBlock
|
||
Text="本软件和ICA,Ink Canvas均基于许可证开源" Margin="0,0,0,-1"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" FontWeight="Bold" />
|
||
<TextBlock
|
||
Text="GNU General Public License v3.0" FontSize="20"
|
||
TextWrapping="Wrap" Foreground="White" />
|
||
</StackPanel>
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock
|
||
Text="本强许可协议的许可条件是,在相同许可协议下,提供许可作品的完整源代码和修改,包括使用许可作品的大型作品。版权和许可声明必须保留。贡献者明确授予专利权。"
|
||
Margin="0,2,0,1" TextWrapping="Wrap" Foreground="#a1a1aa" FontSize="11" />
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<TextBlock FontSize="18" FontWeight="Bold" Margin="0,0,0,4" Text="开发者:" />
|
||
<Grid>
|
||
<Grid.ColumnDefinitions>
|
||
<ColumnDefinition />
|
||
<ColumnDefinition />
|
||
<ColumnDefinition />
|
||
</Grid.ColumnDefinitions>
|
||
<ui:SimpleStackPanel Grid.Column="0" Orientation="Vertical">
|
||
<Image Source="/Resources/DeveloperAvatars/dubi906w.jpg"
|
||
VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Width="64"
|
||
Margin="0,0,0,6" Height="64">
|
||
<Image.Clip>
|
||
<EllipseGeometry Center="32,32" RadiusX="32" RadiusY="32" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" FontSize="18" Foreground="#fde047"
|
||
FontWeight="Bold">
|
||
Dubi906w
|
||
</TextBlock>
|
||
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
FontSize="12" Foreground="White">
|
||
ICC 的开发者
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Grid.Column="1" Orientation="Vertical">
|
||
<Image Source="/Resources/DeveloperAvatars/ChangSakura.png"
|
||
VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Width="64"
|
||
Margin="0,0,0,6" Height="64">
|
||
<Image.Clip>
|
||
<EllipseGeometry Center="32,32" RadiusX="32" RadiusY="32" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" FontSize="18" Foreground="#fde047"
|
||
FontWeight="Bold">
|
||
ChangSakura
|
||
</TextBlock>
|
||
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
FontSize="12" Foreground="White">
|
||
ICA 的开发者
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Grid.Column="2" Orientation="Vertical">
|
||
<Image Source="/Resources/DeveloperAvatars/WXRIW.png"
|
||
VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Width="64"
|
||
Margin="0,0,0,6" Height="64">
|
||
<Image.Clip>
|
||
<EllipseGeometry Center="32,32" RadiusX="32" RadiusY="32" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" FontSize="18" Foreground="#fde047"
|
||
FontWeight="Bold">
|
||
WXRIW
|
||
</TextBlock>
|
||
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
FontSize="12" Foreground="White">
|
||
Ink Canvas 的开发者
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
</Grid>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<TextBlock FontSize="15">
|
||
<Bold>ICC 仓库源:</Bold>
|
||
<Hyperlink Click="HyperlinkSourceToICCRepository_Click">
|
||
<TextBlock Margin="2,0" Text="gitea:kriastans/InkCanvasForClass"
|
||
TextWrapping="Wrap" />
|
||
</Hyperlink>
|
||
</TextBlock>
|
||
<TextBlock FontSize="15">
|
||
<Bold>ICA 仓库源:</Bold>
|
||
<Hyperlink Click="HyperlinkSourceToPresentRepository_Click">
|
||
<TextBlock Margin="2,0" Text="ChangSakura/Ink-Canvas" TextWrapping="Wrap" />
|
||
</Hyperlink>
|
||
</TextBlock>
|
||
<TextBlock FontSize="15">
|
||
<Bold>Ink Canvas 仓库源:</Bold>
|
||
<Hyperlink Click="HyperlinkSourceToOringinalRepository_Click">
|
||
<TextBlock Margin="2,0" Text="WXRIW/Ink-Canvas" />
|
||
</Hyperlink>
|
||
</TextBlock>
|
||
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
||
StrokeThickness="1" Margin="0,4,0,4" />
|
||
<TextBlock FontSize="18" FontWeight="Bold" Margin="0,0,0,4" Text="感谢下列贡献者:" />
|
||
<Grid Margin="8,0">
|
||
<Grid.ColumnDefinitions>
|
||
<ColumnDefinition />
|
||
<ColumnDefinition />
|
||
<ColumnDefinition />
|
||
<ColumnDefinition />
|
||
</Grid.ColumnDefinitions>
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition />
|
||
<RowDefinition />
|
||
<RowDefinition />
|
||
</Grid.RowDefinitions>
|
||
<ui:SimpleStackPanel Grid.Column="0" Grid.Row="0" Orientation="Vertical">
|
||
<Image Source="/Resources/DeveloperAvatars/RaspberryKan.jpg"
|
||
VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
|
||
Margin="0,0,0,6" Height="48">
|
||
<Image.Clip>
|
||
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" FontSize="12" Foreground="White">
|
||
Raspberry Kan
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Grid.Column="1" Grid.Row="0" Orientation="Vertical">
|
||
<Image Source="/Resources/DeveloperAvatars/kengwang.png"
|
||
VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
|
||
Margin="0,0,0,6" Height="48">
|
||
<Image.Clip>
|
||
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" FontSize="12" Foreground="White">
|
||
Kengwang
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Grid.Column="2" Grid.Row="0" Orientation="Vertical">
|
||
<Image Source="/Resources/DeveloperAvatars/jiajiaxd.jpg"
|
||
VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
|
||
Margin="0,0,0,6" Height="48">
|
||
<Image.Clip>
|
||
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" FontSize="12" Foreground="White">
|
||
Charles Jia
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Grid.Column="3" Grid.Row="0" Orientation="Vertical">
|
||
<Image Source="/Resources/DeveloperAvatars/clover-yan.png"
|
||
VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
|
||
Margin="0,0,0,6" Height="48">
|
||
<Image.Clip>
|
||
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" FontSize="12" Foreground="White">
|
||
clover_yan
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Grid.Column="0" Grid.Row="1" Orientation="Vertical"
|
||
Margin="0,16,0,0">
|
||
<Image Source="/Resources/DeveloperAvatars/NetheriteBowl.png"
|
||
VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
|
||
Margin="0,0,0,6" Height="48">
|
||
<Image.Clip>
|
||
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" FontSize="12" Foreground="White">
|
||
Netherite_Bowl
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Grid.Column="1" Grid.Row="1" Orientation="Vertical"
|
||
Margin="0,16,0,0">
|
||
<Image Source="/Resources/DeveloperAvatars/NotYoojun.png"
|
||
VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
|
||
Margin="0,0,0,6" Height="48">
|
||
<Image.Clip>
|
||
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" FontSize="12" Foreground="White">
|
||
Yoojun Zhou
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Grid.Column="2" Grid.Row="1" Orientation="Vertical"
|
||
Margin="0,16,0,0">
|
||
<Image Source="/Resources/DeveloperAvatars/yuwenhui2020.png"
|
||
VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
|
||
Margin="0,0,0,6" Height="48">
|
||
<Image.Clip>
|
||
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" FontSize="12" Foreground="White">
|
||
YuWenHui2020
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Grid.Column="3" Grid.Row="1" Orientation="Vertical"
|
||
Margin="0,16,0,0">
|
||
<Image Source="/Resources/DeveloperAvatars/STBBRD.png"
|
||
VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
|
||
Margin="0,0,0,6" Height="48">
|
||
<Image.Clip>
|
||
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" FontSize="12" Foreground="White">
|
||
ZongziTEK
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Grid.Column="0" Grid.Row="2" Orientation="Vertical"
|
||
Margin="0,16,0,0">
|
||
<Image Source="/Resources/DeveloperAvatars/aaaaaaccd.jpg"
|
||
VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
|
||
Margin="0,0,0,6" Height="48">
|
||
<Image.Clip>
|
||
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" FontSize="12" Foreground="White">
|
||
Aesthed
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Grid.Column="1" Grid.Row="2" Orientation="Vertical"
|
||
Margin="0,16,0,0">
|
||
<Image Source="/Resources/DeveloperAvatars/wwei.png"
|
||
VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
|
||
Margin="0,0,0,6" Height="48">
|
||
<Image.Clip>
|
||
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" FontSize="12" Foreground="White">
|
||
Wei
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Grid.Column="2" Grid.Row="2" Orientation="Vertical"
|
||
Margin="0,16,0,0">
|
||
<Image Source="/Resources/DeveloperAvatars/Alan-CRL.png"
|
||
VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
|
||
Margin="0,0,0,6" Height="48">
|
||
<Image.Clip>
|
||
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" FontSize="12" Foreground="White">
|
||
Alan-CRL
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
</Grid>
|
||
<ui:SimpleStackPanel Spacing="3" Orientation="Vertical">
|
||
<TextBlock
|
||
Text="© 2025 CJK_mkp 版权所有" FontWeight="Bold"
|
||
TextWrapping="Wrap" Foreground="White" />
|
||
<TextBlock
|
||
Text="© 2022-2025 HarkoTek Studio 提供技术支持"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
<TextBlock
|
||
Text="We love Open-Source forever!" FontWeight="Bold"
|
||
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
||
</ui:SimpleStackPanel>
|
||
|
||
</ui:SimpleStackPanel>
|
||
</GroupBox>
|
||
</StackPanel>
|
||
</ui:ScrollViewerEx>
|
||
|
||
<!-- 底部按钮区域 -->
|
||
<Grid Grid.Row="2" VerticalAlignment="Bottom" Height="50">
|
||
<Button FontFamily="Microsoft YaHei UI"
|
||
Width="120" Margin="10"
|
||
HorizontalAlignment="Right"
|
||
Click="BtnCloseSettings_Click">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" Spacing="0">
|
||
<Image RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,0,6,0" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="M19,6.41 L17.59,5 L12,10.59 L6.41,5 L5,6.41 L10.59,12 L5,17.59 L6.41,19 L12,13.41 L17.59,19 L19,17.59 L13.41,12 Z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label FontSize="16" Foreground="#fafafa" VerticalAlignment="Center"
|
||
FontFamily="Microsoft YaHei UI" FontWeight="Bold">
|
||
关闭
|
||
</Label>
|
||
</ui:SimpleStackPanel>
|
||
</Button>
|
||
</Grid>
|
||
</Grid></Grid>
|
||
</Border>
|
||
</Grid>
|
||
|
||
|
||
|
||
<!--// 黑/白 板幕布 //-->
|
||
<Grid Name="GridBackgroundCoverHolder">
|
||
<Grid Name="GridBackgroundCover" Visibility="Collapsed" Background="#1F1F1F">
|
||
<Image Name="ICCWaterMarkWhite" Source="Resources/Icons-png/icc-transparent.png" Width="648"
|
||
Height="648" Opacity="0.035" />
|
||
<Image Name="ICCWaterMarkDark" Source="Resources/Icons-png/icc-transparent-dark.png" Width="648"
|
||
Height="648" Opacity="0.055" />
|
||
</Grid>
|
||
</Grid>
|
||
<Grid Name="GridTransparencyFakeBackground" Opacity="0" />
|
||
<Label Name="Label" Visibility="Collapsed" Foreground="Gray" Content="0" />
|
||
<Grid Name="InkCanvasGridForInkReplay">
|
||
<InkCanvas x:Name="inkCanvas" ForceCursor="True" UseCustomCursor="True"
|
||
TouchUp="Main_Grid_TouchUp" TouchDown="Main_Grid_TouchDown"
|
||
TouchMove="inkCanvas_TouchMove"
|
||
ManipulationDelta="Main_Grid_ManipulationDelta"
|
||
ManipulationCompleted="Main_Grid_ManipulationCompleted"
|
||
ManipulationInertiaStarting="inkCanvas_ManipulationInertiaStarting"
|
||
IsManipulationEnabled="True"
|
||
EditingModeChanged="inkCanvas_EditingModeChanged"
|
||
PreviewTouchDown="inkCanvas_PreviewTouchDown"
|
||
PreviewTouchUp="inkCanvas_PreviewTouchUp"
|
||
MouseDown="inkCanvas_MouseDown"
|
||
MouseMove="inkCanvas_MouseMove"
|
||
MouseUp="inkCanvas_MouseUp"
|
||
ManipulationStarting="inkCanvas_ManipulationStarting"
|
||
SelectionChanged="inkCanvas_SelectionChanged"
|
||
StrokeCollected="inkCanvas_StrokeCollected" ClipToBounds="False" Background="Transparent" />
|
||
</Grid>
|
||
|
||
<Canvas IsHitTestVisible="False">
|
||
<ui:SimpleStackPanel Canvas.Left="25" Canvas.Top="15" Orientation="Vertical">
|
||
<TextBlock Text="{Binding nowTime}" Name="WaterMarkTime" Visibility="Collapsed" FontSize="30"
|
||
FontWeight="Bold" Foreground="White" Opacity="0.6" />
|
||
<TextBlock Text="{Binding nowDate}" Name="WaterMarkDate" Visibility="Collapsed" Margin="2,0,0,0"
|
||
FontSize="16" Foreground="White" Opacity="0.45" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Canvas.Right="25" Canvas.Top="15" Text="多一份理解,少一份抱怨" Name="BlackBoardWaterMark"
|
||
Visibility="Collapsed" FontSize="24" FontWeight="Bold" Foreground="White" Opacity="0.5" />
|
||
</Canvas>
|
||
<Grid Visibility="{Binding ElementName=inkCanvas, Path=Visibility}">
|
||
<Grid Name="GridInkCanvasSelectionCover"
|
||
MouseDown="GridInkCanvasSelectionCover_MouseDown"
|
||
MouseUp="GridInkCanvasSelectionCover_MouseUp"
|
||
IsManipulationEnabled="True"
|
||
ManipulationStarting="GridInkCanvasSelectionCover_ManipulationStarting"
|
||
ManipulationCompleted="GridInkCanvasSelectionCover_ManipulationCompleted"
|
||
ManipulationDelta="GridInkCanvasSelectionCover_ManipulationDelta"
|
||
PreviewTouchDown="GridInkCanvasSelectionCover_PreviewTouchDown"
|
||
PreviewTouchUp="GridInkCanvasSelectionCover_PreviewTouchUp"
|
||
TouchDown="GridInkCanvasSelectionCover_TouchDown"
|
||
TouchUp="GridInkCanvasSelectionCover_TouchUp"
|
||
Background="#01FFFFFF" Opacity="0.01" Visibility="Visible" Margin="1,0,-1,0" />
|
||
<Border Name="BorderStrokeSelectionControl"
|
||
HorizontalAlignment="Left" VerticalAlignment="Top" Margin="800,900,0,0"
|
||
CornerRadius="5" Height="80"
|
||
Background="{DynamicResource FloatBarBackground}"
|
||
Visibility="{Binding ElementName=GridInkCanvasSelectionCover, Path=Visibility}"
|
||
BorderThickness="1" BorderBrush="{DynamicResource FloatBarBorderBrush}">
|
||
<Viewbox Margin="0,-2.5">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="10" Height="60">
|
||
<Border Name="BorderStrokeSelectionClone" Margin="0,2,-9,2" Background="Transparent"
|
||
CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
|
||
Width="40" MouseDown="Border_MouseDown" MouseUp="BorderStrokeSelectionClone_MouseUp">
|
||
<ui:SimpleStackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
|
||
<Image Source="/Resources/Icons-Fluent/ic_fluent_copy_24_regular.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
|
||
<TextBlock Text="克隆" FontSize="10" Foreground="{DynamicResource FloatBarForeground}"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<Border Name="BorderStrokeSelectionCloneToNewBoard" Margin="0,2,-9,2" Background="Transparent"
|
||
CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
|
||
Width="40" MouseDown="Border_MouseDown"
|
||
MouseUp="BorderStrokeSelectionCloneToNewBoard_MouseUp"
|
||
Visibility="{Binding Visibility, ElementName=GridBackgroundCover}">
|
||
<ui:SimpleStackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
|
||
<Image Source="/Resources/Icons-Fluent/ic_fluent_copy_add_24_regular.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
|
||
<TextBlock Text="克隆至新页" FontSize="8" Foreground="{DynamicResource FloatBarForeground}"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<Border Width="1" Height="45" BorderBrush="{DynamicResource FloatBarForeground}"
|
||
Background="{DynamicResource FloatBarForeground}" />
|
||
<Border CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
|
||
Height="40">
|
||
<ui:SimpleStackPanel VerticalAlignment="Center" Spacing="5" Margin="0,-10">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="10">
|
||
<Image Source="{DynamicResource Rotate45DrawingImage}" Height="22"
|
||
MouseDown="Border_MouseDown" MouseUp="ImageRotate45_MouseUp" />
|
||
<Image Source="{DynamicResource Rotate90DrawingImage}" Height="22"
|
||
MouseDown="Border_MouseDown" MouseUp="ImageRotate90_MouseUp" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="旋转" FontSize="10" HorizontalAlignment="Center"
|
||
Foreground="{DynamicResource FloatBarForeground}" />
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<Border Width="1" Height="45" BorderBrush="{DynamicResource FloatBarForeground}"
|
||
Background="{DynamicResource FloatBarForeground}" />
|
||
<Border CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
|
||
Height="40">
|
||
<ui:SimpleStackPanel VerticalAlignment="Center" Margin="0,-10">
|
||
<ui:SimpleStackPanel Orientation="Horizontal">
|
||
<Image MouseDown="Border_MouseDown" MouseUp="ImageFlipHorizontal_MouseUp"
|
||
Source="/Resources/Icons-Fluent/ic_fluent_flip_horizontal_24_regular.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="30" Width="30" />
|
||
<Image MouseDown="Border_MouseDown" MouseUp="ImageFlipVertical_MouseUp"
|
||
Source="/Resources/Icons-Fluent/ic_fluent_flip_vertical_24_regular.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="30" Width="30" />
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="翻转" FontSize="10" HorizontalAlignment="Center"
|
||
Foreground="{DynamicResource FloatBarForeground}" />
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<Border Width="1" Height="45" BorderBrush="{DynamicResource FloatBarForeground}"
|
||
Background="{DynamicResource FloatBarForeground}" />
|
||
<Border CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
|
||
Height="40">
|
||
<ui:SimpleStackPanel VerticalAlignment="Center" Spacing="5" Margin="0,-10">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="5">
|
||
<Grid MouseDown="Border_MouseDown" MouseUp="GridPenWidthDecrease_MouseUp">
|
||
<Image Source="/Resources/Icons-Fluent/ic_fluent_edit_24_regular.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
|
||
<TextBlock Text="-" Foreground="{DynamicResource FloatBarForeground}"
|
||
VerticalAlignment="Bottom" HorizontalAlignment="Right"
|
||
Margin="0,0,-2,-7" FontSize="15" />
|
||
</Grid>
|
||
<Grid MouseDown="Border_MouseDown" MouseUp="GridPenWidthIncrease_MouseUp">
|
||
<Image Source="/Resources/Icons-Fluent/ic_fluent_edit_24_regular.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
|
||
<TextBlock Text="+" Foreground="{DynamicResource FloatBarForeground}"
|
||
VerticalAlignment="Bottom" HorizontalAlignment="Right"
|
||
Margin="0,0,-3,-4" FontSize="11" />
|
||
</Grid>
|
||
<Grid MouseDown="Border_MouseDown" MouseUp="GridPenWidthRestore_MouseUp">
|
||
<Image Source="/Resources/Icons-Fluent/ic_fluent_edit_24_regular.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
|
||
<Image Source="{DynamicResource AndroidRefreshDrawingImage}"
|
||
VerticalAlignment="Bottom" HorizontalAlignment="Right"
|
||
Margin="0,0,-2,-2" Width="8" />
|
||
</Grid>
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock Text="画笔粗细" FontSize="10" HorizontalAlignment="Center"
|
||
Foreground="{DynamicResource FloatBarForeground}" />
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<Border Width="1" Height="45" BorderBrush="{DynamicResource FloatBarForeground}"
|
||
Background="{DynamicResource FloatBarForeground}" />
|
||
<Border Margin="-8,0,0,0"
|
||
CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
|
||
Width="40" MouseDown="Border_MouseDown" MouseUp="BorderStrokeSelectionDelete_MouseUp">
|
||
<ui:SimpleStackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
|
||
<Image Source="/Resources/Icons-Fluent/ic_fluent_delete_24_regular.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
|
||
<TextBlock Margin="0,5,0,0" Text="删除" FontSize="10"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Viewbox>
|
||
</Border>
|
||
</Grid>
|
||
|
||
<Grid Visibility="Collapsed">
|
||
<Grid Visibility="{Binding ElementName=GridBackgroundCoverHolder, Path=Visibility}">
|
||
<Viewbox Margin="10" Height="50" HorizontalAlignment="Right" VerticalAlignment="Bottom">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="5">
|
||
<Border Width="36" Height="36" CornerRadius="5"
|
||
Background="{DynamicResource FloatBarBackground}" BorderThickness="1"
|
||
BorderBrush="{DynamicResource FloatBarBorderBrush}">
|
||
<Grid Margin="6" MouseUp="GridPPTControlPrevious_MouseUp">
|
||
<Image
|
||
Source="{DynamicResource ResourceKey=SeewoImageSource.HorizontalPreviousSlideNormal}" />
|
||
</Grid>
|
||
</Border>
|
||
<Border Visibility="{Binding ElementName=PptNavigationBtn, Path=Visibility}" Width="36"
|
||
Height="36" CornerRadius="5" Background="{DynamicResource FloatBarBackground}"
|
||
BorderThickness="1" BorderBrush="{DynamicResource FloatBarBorderBrush}">
|
||
<Grid MouseUp="PPTNavigationBtn_MouseUp">
|
||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||
Foreground="{Binding ElementName=PptNavigationTextBlock, Path=Foreground}"
|
||
FontSize="{Binding ElementName=PptNavigationTextBlock, Path=FontSize}"
|
||
Text="{Binding ElementName=PptNavigationTextBlock, Path=Text}" />
|
||
</Grid>
|
||
</Border>
|
||
<Border Width="36" Height="36" CornerRadius="5"
|
||
Background="{DynamicResource FloatBarBackground}" BorderThickness="1"
|
||
BorderBrush="{DynamicResource FloatBarBorderBrush}">
|
||
<Grid Margin="6" MouseUp="GridPPTControlNext_MouseUp">
|
||
<Image
|
||
Source="{DynamicResource ResourceKey=SeewoImageSource.HorizontalNextSlideNormal}" />
|
||
</Grid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Viewbox>
|
||
</Grid>
|
||
</Grid>
|
||
<!--// BlackBoard 界面 //-->
|
||
<Grid Name="BlackboardUIGridForInkReplay">
|
||
<Grid Visibility="{Binding ElementName=GridBackgroundCoverHolder, Path=Visibility}">
|
||
<!-- 左下角 -->
|
||
<Viewbox x:Name="ViewboxBlackboardLeftSide" Margin="3,0,0,0" Height="55" HorizontalAlignment="Left"
|
||
VerticalAlignment="Bottom">
|
||
<Grid Name="BlackboardLeftSide" Visibility="Visible" Margin="0,0,0,3" Height="50"
|
||
HorizontalAlignment="Center" VerticalAlignment="Bottom">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="5">
|
||
<Border CornerRadius="5,5,5,5" Background="#f4f4f5" Margin="0,0,0,0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal">
|
||
<Border Width="60" Height="50"
|
||
IsEnabled="{Binding ElementName=BtnWhiteBoardSwitchPrevious, Path=IsEnabled}"
|
||
BorderThickness="1,1,0,1" BorderBrush="#a1a1aa"
|
||
MouseUp="BtnWhiteBoardSwitchPrevious_Click" CornerRadius="5,0,0,5"
|
||
Background="#f4f4f5"
|
||
Opacity="0.95">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image VerticalAlignment="Top"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
x:Name="BtnLeftWhiteBoardSwitchPreviousGeometry"
|
||
Geometry="F1 M24,24z M0,0z M7.40091,10.456L14.5033,3.35357 12.3198,1.17001 1.48978,12 12.3198,22.83 14.5033,20.6465 7.40089,13.544 22.5102,13.544 22.5102,10.456 7.40091,10.456z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Text="上一页" Foreground="#18181b" VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center" FontSize="12"
|
||
x:Name="BtnLeftWhiteBoardSwitchPreviousLabel" />
|
||
</Grid>
|
||
</Border>
|
||
<Border Width="75" Height="50" MouseUp="BtnWhiteBoardPageIndex_Click"
|
||
Name="BtnLeftPageListWB"
|
||
BorderThickness="1,1,1,1" BorderBrush="#a1a1aa" Background="#f4f4f5"
|
||
Opacity="0.95">
|
||
<Grid Margin="6,6,6,4">
|
||
<TextBlock HorizontalAlignment="Center"
|
||
Text="{Binding ElementName=TextBlockWhiteBoardIndexInfo, Path=Text}"
|
||
Margin="0,-1,0,0" FontSize="17" FontWeight="Bold"
|
||
TextAlignment="Center" />
|
||
<TextBlock Text="页面" Foreground="#18181b" VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center" FontSize="12" />
|
||
</Grid>
|
||
</Border>
|
||
<Grid Width="0" Margin="0,0,0,5">
|
||
<Border ClipToBounds="True" Name="BoardBorderLeftPageListView"
|
||
Margin="-134,-465,-60,50"
|
||
CornerRadius="8"
|
||
Background="#fafafa" Opacity="1" BorderBrush="#a1a1aa"
|
||
BorderThickness="1">
|
||
<ui:ScrollViewerEx Name="BlackBoardLeftSidePageListScrollViewer"
|
||
Height="460"
|
||
VerticalScrollBarVisibility="Hidden"
|
||
ForceUseSmoothScroll="True">
|
||
<ListView ScrollViewer.CanContentScroll="False" SelectionMode="Single"
|
||
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
||
ScrollViewer.VerticalScrollBarVisibility="Disabled"
|
||
Name="BlackBoardLeftSidePageListView">
|
||
<ListView.ItemTemplate>
|
||
<DataTemplate>
|
||
<ui:SimpleStackPanel Orientation="Vertical"
|
||
MouseUp="BlackBoardLeftSidePageListView_OnMouseUp">
|
||
<Border Margin="0,4" Width="160" BorderBrush="#a1a1aa"
|
||
BorderThickness="1">
|
||
<Grid>
|
||
<Viewbox Width="160">
|
||
<InkCanvas EditingMode="None"
|
||
Background="{Binding ElementName=GridBackgroundCover, Path=Background}"
|
||
Strokes="{Binding Strokes}"
|
||
Width="{Binding ElementName=inkCanvas, Path=ActualWidth}"
|
||
Height="{Binding ElementName=inkCanvas, Path=ActualHeight}">
|
||
</InkCanvas>
|
||
</Viewbox>
|
||
<Border Margin="4" Width="36" Height="20"
|
||
CornerRadius="3" HorizontalAlignment="Left"
|
||
VerticalAlignment="Top"
|
||
Background="#cc09090b">
|
||
<TextBlock FontSize="14"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontFamily="Consolas"
|
||
Foreground="White"
|
||
Text="{Binding Index}">
|
||
</TextBlock>
|
||
</Border>
|
||
</Grid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</DataTemplate>
|
||
</ListView.ItemTemplate>
|
||
</ListView>
|
||
</ui:ScrollViewerEx>
|
||
</Border>
|
||
</Grid>
|
||
<Border Width="60" Height="50" MouseUp="BtnWhiteBoardSwitchNext_Click"
|
||
CornerRadius="0,5,5,0"
|
||
IsEnabled="{Binding ElementName=BtnWhiteBoardSwitchNext, Path=IsEnabled}"
|
||
BorderThickness="0,1,1,1" BorderBrush="#a1a1aa"
|
||
Background="#f4f4f5" Opacity="0.95">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image VerticalAlignment="Top"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
x:Name="BtnLeftWhiteBoardSwitchNextGeometry"
|
||
Geometry="F1 M24,24z M0,0z M16.5991,10.456L9.49667,3.35357 11.6802,1.17001 22.5102,12 11.6802,22.83 9.49667,20.6465 16.5991,13.544 1.48978,13.544 1.48978,10.456 16.5991,10.456z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Text="下一页" Foreground="Black" VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center" FontSize="12"
|
||
x:Name="BtnLeftWhiteBoardSwitchNextLabel" />
|
||
</Grid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<Border Width="60" Height="50"
|
||
BorderThickness="1" BorderBrush="#a1a1aa"
|
||
MouseUp="BtnWhiteBoardAdd_Click" CornerRadius="5" Background="#f4f4f5"
|
||
Opacity="0.95">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image VerticalAlignment="Top"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M7.39778,13.723L10.7693,13.723 10.7693,10.3514 13.2307,10.3514 13.2307,13.723 16.6022,13.723 16.6022,16.1843 13.2307,16.1843 13.2307,19.5559 10.7693,19.5559 10.7693,16.1843 7.39778,16.1843 7.39778,13.723z M3.1391,1.17001L3.1391,22.83 20.8609,22.83 20.8609,6.66948 15.3614,1.17002 3.1391,1.17001z M12.9846,3.13911L5.10819,3.1391 5.10819,20.8609 18.8918,20.8609 18.8918,9.04638 12.9846,9.04638 12.9846,3.13911z M18.484,7.07729L14.9536,3.54692 14.9536,7.07729 18.484,7.07729z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Text="新页面" Foreground="#18181b" VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center" FontSize="12" />
|
||
</Grid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Grid>
|
||
</Viewbox>
|
||
<!-- 中间 -->
|
||
<Viewbox Margin="3,0,0,0" Height="56" HorizontalAlignment="Center"
|
||
VerticalAlignment="Bottom">
|
||
<Viewbox.LayoutTransform>
|
||
<ScaleTransform x:Name="ViewboxBlackboardCenterSideScaleTransform" ScaleX="1" ScaleY="1" />
|
||
</Viewbox.LayoutTransform>
|
||
<Grid x:Name="BlackboardCenterSide" Visibility="Visible" Margin="0,0,0,3" Height="50"
|
||
HorizontalAlignment="Center" VerticalAlignment="Bottom">
|
||
<ui:SimpleStackPanel Orientation="Horizontal">
|
||
<Border CornerRadius="5,5,5,5" Background="#f4f4f5" Margin="0,0,5,0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal">
|
||
<Border Width="60" Height="50" MouseDown="Border_MouseDown" Name="BoardGesture"
|
||
MouseUp="TwoFingerGestureBorder_MouseUp" CornerRadius="5,0,0,5"
|
||
Background="#f4f4f5"
|
||
Opacity="1" BorderThickness="1,1,0,1" BorderBrush="#a1a1aa">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image VerticalAlignment="Top"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing x:Name="BoardGestureGeometry"
|
||
Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M7.82154,10.0753L7.82154,3.74613C7.82154,3.06603 8.08946,2.40655 8.57377,1.92224 9.05808,1.43793 9.70726,1.17001 10.3977,1.17001 11.0881,1.17001 11.7372,1.43793 12.2216,1.92224 12.7059,2.40655 12.9738,3.05573 12.9738,3.74613L12.9738,6.37308C13.1415,6.33947 13.3139,6.32225 13.489,6.32225 14.1794,6.32225 14.8286,6.59016 15.3129,7.07447 15.4484,7.21001 15.567,7.35845 15.6675,7.5171 15.9551,7.40916 16.2634,7.35269 16.5803,7.35269 17.2707,7.35269 17.9199,7.62061 18.4042,8.10492 18.5461,8.24683 18.6695,8.4029 18.7729,8.57001 19.6856,8.26338 20.7674,8.45871 21.4647,9.15599 21.949,9.6403 22.2169,10.2998 22.2169,10.9799L22.2169,15.6169C22.2169,17.5438 21.4647,19.3574 20.1045,20.7176 18.7443,22.0778 16.9307,22.83 15.0038,22.83L13.149,22.83 13.1799,22.8094 12.8398,22.8094C11.7682,22.7579 10.7068,22.4694 9.75878,21.9541 8.70773,21.3874 7.81124,20.563 7.15175,19.5738L6.94566,19.2647C6.60562,18.7494 5.49273,16.8019 3.52458,13.3087 3.19484,12.7213 3.1021,12.0412 3.27727,11.3818 3.45245,10.7326 3.86463,10.1761 4.44168,9.83608 5.00842,9.49604 5.66791,9.35177 6.31709,9.43421 6.86548,9.50385 7.39181,9.7279 7.82154,10.0753z M10.037,3.38547C10.1297,3.28243 10.2637,3.23091 10.3977,3.23091 10.5316,3.23091 10.6656,3.29273 10.7583,3.38547 10.8614,3.47821 10.9129,3.61217 10.9129,3.74613L10.9129,11.4745C10.9129,12.0412 11.3766,12.5049 11.9433,12.5049 12.5101,12.5049 12.9738,12.0412 12.9738,11.4745L12.9738,8.89836C12.9738,8.7644 13.0356,8.63045 13.1283,8.53771 13.2211,8.43466 13.355,8.38314 13.489,8.38314 13.623,8.38314 13.7569,8.44497 13.8497,8.53771 13.9527,8.63045 14.0042,8.7644 14.0042,8.89836L14.0042,11.4745C14.0042,12.0412 14.4679,12.5049 15.0347,12.5049 15.6014,12.5049 16.0651,12.0412 16.0651,11.4745L16.0651,9.92881C16.0651,9.79485 16.1269,9.66089 16.2197,9.56815 16.3124,9.46511 16.4464,9.41359 16.5803,9.41359 16.7143,9.41359 16.8483,9.47541 16.941,9.56815 17.044,9.66089 17.0956,9.79485 17.0956,9.92881L17.0956,10.5869C17.0752,10.7163 17.0646,10.8477 17.0646,10.9799 17.0646,11.0661 17.0754,11.1499 17.0956,11.2301L17.0956,11.4745C17.0956,12.0412 17.5593,12.5049 18.126,12.5049 18.6928,12.5049 19.1565,12.0412 19.1565,11.4745L19.1565,10.8128C19.1834,10.7399 19.2266,10.6727 19.2801,10.6192 19.4759,10.4234 19.8159,10.4234 20.0117,10.6192 20.1148,10.712 20.1663,10.8459 20.1663,10.9799L20.1663,15.6169C20.1663,16.9977 19.6408,18.296 18.6618,19.2647 17.6829,20.2333 16.3949,20.7691 15.0141,20.7691L13.1593,20.7691C12.3143,20.7691 11.4796,20.5527 10.7274,20.1509 9.98548,19.749 9.3363,19.1616 8.8726,18.4506L8.66651,18.1415C8.35737,17.6675 7.23419,15.7096 5.31756,12.2988 5.24543,12.1752 5.23512,12.0412 5.26604,11.9073 5.30725,11.7733 5.38969,11.6703 5.50304,11.5981 5.66791,11.4951 5.874,11.4539 6.06978,11.4745 6.26557,11.5054 6.45105,11.5878 6.59531,11.7321L8.11007,13.2469C8.49419,13.631 9.10425,13.648 9.50833,13.2978 9.73651,13.1084 9.88244,12.8229 9.88244,12.5049L9.88244,3.74613C9.88244,3.61217,9.94426,3.47821,10.037,3.38547z M2.99905,6.31195L1.78313,4.65293 2.61779,4.04497C3.46275,3.4267,4.37985,2.89087,5.33817,2.46838L6.27587,2.0459 7.12084,3.93162 6.18313,4.3541C5.35878,4.72506,4.56533,5.17846,3.83372,5.71429L2.99905,6.32225 2.99905,6.31195z M18.2806,5.20935L19.1565,5.75549 20.259,4.01404 19.3831,3.4679C18.1157,2.67446,16.7452,2.0768,15.3026,1.68523L14.303,1.41731 13.7672,3.40607 14.7667,3.67399C16.0033,4.00373,17.1883,4.51895,18.2806,5.20935z" />
|
||
<GeometryDrawing x:Name="BoardGestureGeometry2"
|
||
Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z " />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Text="手势" Foreground="#18181b" VerticalAlignment="Bottom"
|
||
Name="BoardGestureLabel"
|
||
HorizontalAlignment="Center" FontSize="12" />
|
||
</Grid>
|
||
</Border>
|
||
<Grid Width="0" Margin="0,0,0,5">
|
||
<Border ClipToBounds="True" Name="BoardTwoFingerGestureBorder"
|
||
Margin="-115,-161,-55,50"
|
||
CornerRadius="8"
|
||
Background="#fafafa" Opacity="1" BorderBrush="#2563eb"
|
||
BorderThickness="1">
|
||
<ui:SimpleStackPanel Margin="0">
|
||
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
|
||
CornerRadius="8,8,0,0"
|
||
Background="#2563eb" Margin="-1,-1,-1,1">
|
||
<Canvas Height="36" ClipToBounds="True">
|
||
<TextBlock Text="手势选项" Canvas.Left="12" Foreground="White"
|
||
Padding="0,7"
|
||
FontSize="17" FontWeight="Bold"
|
||
TextAlignment="Center" />
|
||
</Canvas>
|
||
</Border>
|
||
<Viewbox Margin="8,0,8,0">
|
||
<ui:SimpleStackPanel Margin="0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="4"
|
||
VerticalAlignment="Center"
|
||
HorizontalAlignment="Center"
|
||
Margin="0,3,0,0">
|
||
<Image Source="/Resources/new-icons/multi-touch.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="16"
|
||
Width="16" />
|
||
<Label Content="多指书写" FontSize="10"
|
||
VerticalAlignment="Center" />
|
||
<Viewbox Width="36" Height="18" Margin="4,0,0,0">
|
||
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
||
Name="BoardToggleSwitchEnableMultiTouchMode"
|
||
FontFamily="Microsoft YaHei UI"
|
||
IsOn="False"
|
||
OnContent=""
|
||
OffContent=""
|
||
Toggled="ToggleSwitchEnableMultiTouchMode_Toggled"
|
||
RenderTransformOrigin="0.5,0.5">
|
||
<ui:ToggleSwitch.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform />
|
||
<SkewTransform />
|
||
<RotateTransform />
|
||
<TranslateTransform X="8" />
|
||
</TransformGroup>
|
||
</ui:ToggleSwitch.RenderTransform>
|
||
</ui:ToggleSwitch>
|
||
</Viewbox>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
Opacity="{Binding ElementName=TwoFingerGestureSimpleStackPanel, Path=Opacity}"
|
||
Orientation="Horizontal" Spacing="4"
|
||
VerticalAlignment="Center"
|
||
HorizontalAlignment="Center">
|
||
<Image Source="/Resources/new-icons/hand-move.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="16"
|
||
Width="16" />
|
||
<Label Content="双指移动" FontSize="10"
|
||
VerticalAlignment="Center" />
|
||
<Viewbox Width="36" Height="18" Margin="4,0,0,0">
|
||
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
||
Name="BoardToggleSwitchEnableTwoFingerTranslate"
|
||
FontFamily="Microsoft YaHei UI"
|
||
IsOn="False"
|
||
OnContent=""
|
||
OffContent=""
|
||
Toggled="ToggleSwitchEnableTwoFingerTranslate_Toggled"
|
||
RenderTransformOrigin="0.5,0.5">
|
||
<ui:ToggleSwitch.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform />
|
||
<SkewTransform />
|
||
<RotateTransform />
|
||
<TranslateTransform X="8" />
|
||
</TransformGroup>
|
||
</ui:ToggleSwitch.RenderTransform>
|
||
</ui:ToggleSwitch>
|
||
</Viewbox>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
Opacity="{Binding ElementName=TwoFingerGestureSimpleStackPanel, Path=Opacity}"
|
||
Orientation="Horizontal" Spacing="4"
|
||
VerticalAlignment="Center"
|
||
HorizontalAlignment="Center">
|
||
<Image Source="/Resources/new-icons/zoom.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="16"
|
||
Width="16" />
|
||
<Label Content="双指缩放" FontSize="10"
|
||
VerticalAlignment="Center" />
|
||
<Viewbox Width="36" Height="18" Margin="4,0,0,0">
|
||
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
||
FontFamily="Microsoft YaHei UI"
|
||
IsOn="False" OnContent="" OffContent=""
|
||
Name="BoardToggleSwitchEnableTwoFingerZoom"
|
||
Toggled="ToggleSwitchEnableTwoFingerZoom_Toggled"
|
||
RenderTransformOrigin="0.5,0.5">
|
||
<ui:ToggleSwitch.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform />
|
||
<SkewTransform />
|
||
<RotateTransform />
|
||
<TranslateTransform X="8" />
|
||
</TransformGroup>
|
||
</ui:ToggleSwitch.RenderTransform>
|
||
</ui:ToggleSwitch>
|
||
</Viewbox>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
Opacity="{Binding ElementName=TwoFingerGestureSimpleStackPanel, Path=Opacity}"
|
||
Orientation="Horizontal" Spacing="4"
|
||
VerticalAlignment="Center"
|
||
HorizontalAlignment="Center">
|
||
<Image Source="/Resources/new-icons/rotate.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="16"
|
||
Width="16" />
|
||
<Label Content="双指旋转" FontSize="10"
|
||
VerticalAlignment="Center" />
|
||
<Viewbox Width="36" Height="18" Margin="4,0,0,0">
|
||
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
||
FontFamily="Microsoft YaHei UI"
|
||
IsOn="False" OnContent="" OffContent=""
|
||
Name="BoardToggleSwitchEnableTwoFingerRotation"
|
||
Toggled="ToggleSwitchEnableTwoFingerRotation_Toggled"
|
||
RenderTransformOrigin="0.5,0.5">
|
||
<ui:ToggleSwitch.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform />
|
||
<SkewTransform />
|
||
<RotateTransform />
|
||
<TranslateTransform X="8" />
|
||
</TransformGroup>
|
||
</ui:ToggleSwitch.RenderTransform>
|
||
</ui:ToggleSwitch>
|
||
</Viewbox>
|
||
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Viewbox>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</Grid>
|
||
<Border Width="60" Height="50" MouseDown="Border_MouseDown"
|
||
MouseUp="BoardChangeBackgroundColorBtn_MouseUp" CornerRadius="0,5,5,0"
|
||
Background="#f4f4f5" Opacity="1" BorderThickness="0,1,1,1"
|
||
BorderBrush="#a1a1aa">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image VerticalAlignment="Top"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M4.71815,3.98345C6.64142,2.23541 9.19629,1.17001 12,1.17001 17.9812,1.17001 22.83,6.01877 22.83,12 22.83,17.9813 17.9812,22.83 12,22.83 11.6262,22.83 11.2568,22.8111 10.8927,22.7741 5.8167,22.2586 1.77699,18.2377 1.2325,13.1703 1.22536,13.1039 1.21882,13.0373 1.21289,12.9705 1.20871,12.9234 1.20483,12.8762 1.20125,12.8289 1.18054,12.5553 1.17,12.2789 1.17,12 1.17,9.41057 2.07878,7.03339 3.59479,5.17001 3.9391,4.74681 4.31473,4.35011 4.71815,3.98345z M12,20.83C16.8767,20.83 20.83,16.8767 20.83,12 20.83,7.12334 16.8767,3.17001 12,3.17001L12,20.83z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Text="背景" Foreground="#18181b" VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center" FontSize="12" />
|
||
</Grid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
|
||
<Border CornerRadius="5,5,5,5" Background="#f4f4f5" Margin="0,0,5,0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal">
|
||
<Border x:Name="BoardSelect" Width="60" Height="50" MouseDown="Border_MouseDown"
|
||
BorderThickness="1,1,0,1" BorderBrush="#a1a1aa"
|
||
MouseUp="SymbolIconSelect_MouseUp" CornerRadius="5,0,0,5"
|
||
Background="#f4f4f5"
|
||
Opacity="0.95">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image VerticalAlignment="Top"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing x:Name="BoardSelectGeometry"
|
||
Brush="#18181b"
|
||
Geometry="F1 M24,24z M0,0z M22.7989,10.1653L1.14304,1.14304 10.1653,22.7989 12.8305,14.9518 19.6892,21.8105 21.8105,19.6892 14.9518,12.8305 22.7989,10.1653z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Text="选择" Foreground="#18181b" VerticalAlignment="Bottom"
|
||
Name="BoardSelectLabel"
|
||
HorizontalAlignment="Center" FontSize="12" />
|
||
</Grid>
|
||
</Border>
|
||
<Border x:Name="BoardPen" Width="60" Height="50" MouseDown="Border_MouseDown"
|
||
BorderThickness="0,1,0,1" BorderBrush="#a1a1aa"
|
||
MouseUp="PenIcon_Click" Background="#f4f4f5" Opacity="0.95">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image x:Name="BoardPenIcon" VerticalAlignment="Top"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing x:Name="BoardPenGeometry"
|
||
Brush="#18181b"
|
||
Geometry="F1 M24,24z M0,0z M20.4786,1.42438C19.9985,1.23743 19.4847,1.15194 18.9698,1.17319 18.4549,1.19444 17.9499,1.32197 17.4869,1.54789 17.0368,1.76752 16.6358,2.07554 16.3083,2.45361L3.85516,14.9067 9.08243,20.134 21.5311,7.68529C21.9113,7.36382 22.223,6.96912 22.447,6.52438 22.6786,6.06462 22.8113,5.56167 22.8365,5.04763 22.8616,4.5336 22.7787,4.02012 22.593,3.54002 22.4073,3.05994 22.1232,2.62403 21.759,2.25988 21.3949,1.89574 20.9587,1.61132 20.4786,1.42438z M7.28056,21.1605L2.8286,16.7086 1.15912,22.83 7.28056,21.1605z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Text="笔" Foreground="Black" VerticalAlignment="Bottom"
|
||
Name="BoardPenLabel"
|
||
HorizontalAlignment="Center" FontSize="12" />
|
||
</Grid>
|
||
</Border>
|
||
<Border>
|
||
<Grid Margin="0,5,0,5" Width="0">
|
||
<Grid Name="BoardPenPaletteGrid" Margin="-160,-200,-33,50"
|
||
RenderTransformOrigin="0,1">
|
||
<Grid.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform ScaleX="1.5" ScaleY="1.5" />
|
||
<SkewTransform />
|
||
<RotateTransform />
|
||
<TranslateTransform />
|
||
</TransformGroup>
|
||
</Grid.RenderTransform>
|
||
<Border x:Name="BoardPenPalette" Visibility="Visible"
|
||
Background="#fafafa"
|
||
Opacity="1" BorderBrush="#2563eb"
|
||
BorderThickness="1" CornerRadius="8">
|
||
<ui:SimpleStackPanel>
|
||
<Border BorderBrush="#1e3a8a" Height="32"
|
||
BorderThickness="0,0,0,1"
|
||
CornerRadius="8,8,0,0" Background="#2563eb"
|
||
Margin="-1,-1,-1,0"
|
||
Padding="1,1,1,0">
|
||
<ui:SimpleStackPanel Orientation="Vertical"
|
||
VerticalAlignment="Center">
|
||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||
HorizontalAlignment="Stretch"
|
||
Margin="8,0,0,0" Spacing="2">
|
||
<Border x:Name="BoardDefaultPenTabButton"
|
||
MouseDown="SwitchToDefaultPen"
|
||
Background="#48dbeafe" Height="20"
|
||
Width="36"
|
||
CornerRadius="3">
|
||
<Canvas>
|
||
<ui:SimpleStackPanel
|
||
x:Name="BoardDefaultPenTabButtonIndicator"
|
||
Visibility="Visible"
|
||
Orientation="Horizontal"
|
||
Canvas.Left="9" Canvas.Right="9"
|
||
Canvas.Bottom="0">
|
||
<Border Width="18" Height="2"
|
||
Background="#fafafa"
|
||
CornerRadius="1" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Vertical"
|
||
Height="20" Width="36">
|
||
<ui:SimpleStackPanel
|
||
VerticalAlignment="Center"
|
||
Orientation="Horizontal"
|
||
HorizontalAlignment="Center"
|
||
Margin="0,3">
|
||
<Image
|
||
Source="/Resources/new-icons/pen-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="13" Width="13" />
|
||
<TextBlock
|
||
x:Name="BoardDefaultPenTabButtonText"
|
||
Foreground="White"
|
||
FontWeight="Medium"
|
||
FontSize="9"
|
||
TextAlignment="Center"
|
||
Text="笔" Margin="2,1,0,0" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Canvas>
|
||
</Border>
|
||
<Border x:Name="BoardHighlightPenTabButton"
|
||
MouseDown="SwitchToHighlighterPen"
|
||
Background="Transparent" Height="20"
|
||
Width="52"
|
||
CornerRadius="3">
|
||
<Canvas>
|
||
<ui:SimpleStackPanel Visibility="Collapsed"
|
||
x:Name="BoardHighlightPenTabButtonIndicator"
|
||
Orientation="Horizontal"
|
||
Canvas.Left="14"
|
||
Canvas.Right="14" Canvas.Bottom="0">
|
||
<Border Width="24" Height="2"
|
||
Background="#fafafa"
|
||
CornerRadius="1" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Vertical"
|
||
Height="20" Width="52">
|
||
<ui:SimpleStackPanel
|
||
VerticalAlignment="Center"
|
||
Orientation="Horizontal"
|
||
HorizontalAlignment="Center"
|
||
Margin="0,3">
|
||
<Image
|
||
Source="/Resources/new-icons/highlighter-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="13" Width="13" />
|
||
<TextBlock
|
||
x:Name="BoardHighlightPenTabButtonText"
|
||
Foreground="White"
|
||
FontWeight="Medium"
|
||
FontSize="9"
|
||
TextAlignment="Center"
|
||
Text="荧光笔" Margin="2,1,0,0" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Canvas>
|
||
</Border>
|
||
<Image Margin="66,0,0,0"
|
||
Source="/Resources/new-icons/close-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="16" Width="16"
|
||
MouseDown="Border_MouseDown"
|
||
MouseUp="CloseBordertools_MouseUp" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
|
||
</Border>
|
||
<Viewbox Name="BoardDefaultPenPropsPanel"
|
||
Visibility="Collapsed"
|
||
Margin="12,8,12,0" HorizontalAlignment="Center"
|
||
VerticalAlignment="Center" Stretch="Fill">
|
||
<ui:SimpleStackPanel>
|
||
<Controls:UniformGrid Columns="2" Width="300"
|
||
Height="55">
|
||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||
Height="35">
|
||
<Label Content="笔锋" Margin="0,0,6,0"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontSize="16" FontWeight="Bold"
|
||
VerticalAlignment="Center" />
|
||
<ComboBox Height="30"
|
||
VerticalAlignment="Center"
|
||
Name="BoardComboBoxPenStyle"
|
||
FontFamily="Microsoft YaHei UI"
|
||
SelectedIndex="0"
|
||
SelectionChanged="ComboBoxPenStyle_SelectionChanged">
|
||
<ComboBoxItem Content="基于点集"
|
||
FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="基于速率"
|
||
FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="关闭笔锋"
|
||
FontFamily="Microsoft YaHei UI" />
|
||
</ComboBox>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,-5,0,-5"
|
||
VerticalAlignment="Center">
|
||
<ui:SimpleStackPanel
|
||
x:Name="BoardNibModeSimpleStackPanel"
|
||
Orientation="Horizontal" Width="140">
|
||
<Label Content="笔尖模式" FontSize="15"
|
||
VerticalAlignment="Center" />
|
||
<ui:ToggleSwitch
|
||
x:Name="BoardToggleSwitchEnableNibMode"
|
||
MinWidth="0"
|
||
FontFamily="Microsoft YaHei UI"
|
||
Width="70" Margin="10,0,0,0"
|
||
Toggled="ToggleSwitchEnableNibMode_Toggled"
|
||
IsOn="True" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||
Width="140">
|
||
<Label Margin="0,0,10,0" Content="墨迹纠正"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontSize="15"
|
||
VerticalAlignment="Center" />
|
||
<ui:ToggleSwitch
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontFamily="Microsoft YaHei UI"
|
||
Width="70"
|
||
Toggled="ToggleSwitchEnableInkToShape_Toggled"
|
||
MinWidth="0"
|
||
IsOn="{Binding ElementName=ToggleSwitchEnableInkToShape, Path=IsOn}" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Controls:UniformGrid>
|
||
|
||
|
||
<StackPanel Orientation="Horizontal" Height="30">
|
||
<Label Margin="0,0,10,0" Content="粗细"
|
||
FontWeight="Bold"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontSize="17" VerticalAlignment="Center" />
|
||
<Slider x:Name="BoardInkWidthSlider" Minimum="1"
|
||
Maximum="20"
|
||
Width="208" FontFamily="Microsoft YaHei UI"
|
||
FontSize="20" IsSnapToTickEnabled="True"
|
||
Value="5"
|
||
TickFrequency="0.1" TickPlacement="None"
|
||
ValueChanged="InkWidthSlider_ValueChanged" />
|
||
<TextBlock
|
||
Text="{Binding Value, ElementName=InkWidthSlider, Mode=OneWay}"
|
||
FontFamily="Consolas"
|
||
VerticalAlignment="Bottom"
|
||
Margin="10,0,0,4.5" FontSize="15" />
|
||
</StackPanel>
|
||
<StackPanel Orientation="Horizontal" Height="30">
|
||
<Label Margin="0,0,10,0" Content="透明"
|
||
FontWeight="Bold"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontSize="17" VerticalAlignment="Center" />
|
||
<Slider x:Name="BoardInkAlphaSlider"
|
||
Margin="0,0,0,0"
|
||
Minimum="1" Maximum="255" Width="208"
|
||
FontFamily="Microsoft YaHei UI"
|
||
FontSize="20"
|
||
IsSnapToTickEnabled="True" Value="255"
|
||
TickFrequency="1"
|
||
TickPlacement="None"
|
||
ValueChanged="InkAlphaSlider_ValueChanged" />
|
||
<TextBlock
|
||
Text="{Binding Value, ElementName=InkAlphaSlider, Mode=OneWay}"
|
||
FontFamily="Consolas"
|
||
VerticalAlignment="Bottom"
|
||
Margin="10,0,0,4.5" FontSize="15" />
|
||
</StackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Viewbox>
|
||
<Viewbox Name="BoardHighlighterPenPropsPanel"
|
||
Margin="12,8,12,0"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
Stretch="Fill">
|
||
<ui:SimpleStackPanel>
|
||
<StackPanel Orientation="Horizontal" Height="30">
|
||
<Label Margin="0,0,10,0" Content="粗细"
|
||
FontWeight="Bold"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontSize="17" VerticalAlignment="Center" />
|
||
<Slider x:Name="BoardHighlighterWidthSlider"
|
||
Minimum="15"
|
||
Maximum="45" Width="208"
|
||
FontFamily="Microsoft YaHei UI"
|
||
FontSize="20"
|
||
IsSnapToTickEnabled="True" Value="20"
|
||
TickFrequency="1" TickPlacement="None"
|
||
ValueChanged="HighlighterWidthSlider_ValueChanged" />
|
||
<TextBlock
|
||
Text="{Binding Value, ElementName=HighlighterWidthSlider, Mode=OneWay}"
|
||
FontFamily="Consolas"
|
||
VerticalAlignment="Bottom"
|
||
Margin="10,0,0,4.5" FontSize="15" />
|
||
</StackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Viewbox>
|
||
<Viewbox x:Name="BoardDefaultPenColorsPanel"
|
||
Visibility="Collapsed"
|
||
Margin="0,8,0,0" Stretch="Fill">
|
||
<ui:SimpleStackPanel Width="300" Margin="0,0,0,0">
|
||
<!--<TextBlock FontSize="25">画笔颜色</TextBlock>-->
|
||
<Border Width="300" Height="100" BorderBrush="Black"
|
||
BorderThickness="0" CornerRadius="5">
|
||
<Controls:UniformGrid Rows="2" Height="100">
|
||
<ui:SimpleStackPanel Height="45"
|
||
Orientation="Horizontal" Width="270">
|
||
<Controls:UniformGrid Columns="5"
|
||
Width="270"
|
||
Margin="0">
|
||
<Border BorderBrush="Black"
|
||
BorderThickness="1"
|
||
CornerRadius="100" Width="45"
|
||
MouseDown="Border_MouseDown"
|
||
MouseUp="ColorThemeSwitch_MouseUp">
|
||
<Grid Margin="3">
|
||
<Image
|
||
x:Name="BoardColorThemeSwitchIcon"
|
||
Source="/Resources/Icons-Fluent/ic_fluent_weather_sunny_24_regular.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="23"
|
||
Height="23"
|
||
Margin="0,0,0,0" />
|
||
<TextBlock Margin="0,0,0,2"
|
||
x:Name="BoardColorThemeSwitchTextBlock"
|
||
Text="亮系"
|
||
Foreground="Black"
|
||
VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center"
|
||
FontSize="11" />
|
||
</Grid>
|
||
</Border>
|
||
<Border
|
||
x:Name="BoardBorderPenColorBlack"
|
||
Background="Black"
|
||
BorderBrush="Black"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45"
|
||
MouseUp="BtnColorBlack_Click">
|
||
<Viewbox
|
||
Name="BoardViewboxBtnColorBlackContent"
|
||
Visibility="Collapsed"
|
||
Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
<Border
|
||
x:Name="BoardBorderPenColorWhite"
|
||
Background="White"
|
||
BorderBrush="#71717a"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45"
|
||
MouseUp="BtnColorWhite_Click">
|
||
<Viewbox
|
||
x:Name="BoardViewboxBtnColorWhiteContent"
|
||
Visibility="Collapsed"
|
||
Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-black.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
<Border x:Name="BoardBorderPenColorRed"
|
||
Background="#dc2626"
|
||
BorderBrush="#7f1d1d"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45"
|
||
MouseUp="BtnColorRed_Click">
|
||
<Viewbox
|
||
Name="BoardViewboxBtnColorRedContent"
|
||
Visibility="Collapsed"
|
||
Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
<Border
|
||
x:Name="BoardBorderPenColorYellow"
|
||
Background="#eab308"
|
||
BorderBrush="#713f12"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45"
|
||
MouseUp="BtnColorYellow_Click">
|
||
<Viewbox
|
||
x:Name="BoardViewboxBtnColorYellowContent"
|
||
Visibility="Collapsed"
|
||
Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
</Controls:UniformGrid>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Height="45"
|
||
Orientation="Horizontal" Width="270">
|
||
<Controls:UniformGrid Columns="5"
|
||
Width="270"
|
||
Margin="0">
|
||
|
||
<Border
|
||
x:Name="BoardBorderPenColorGreen"
|
||
Background="#16a34a"
|
||
BorderBrush="#14532d"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45"
|
||
MouseUp="BtnColorGreen_Click">
|
||
<Viewbox
|
||
x:Name="BoardViewboxBtnColorGreenContent"
|
||
Visibility="Collapsed"
|
||
Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
<Border
|
||
x:Name="BoardBorderPenColorBlue"
|
||
Background="#2563eb"
|
||
BorderBrush="#1e3a8a"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45"
|
||
MouseUp="BtnColorBlue_Click">
|
||
<Viewbox
|
||
x:Name="BoardViewboxBtnColorBlueContent"
|
||
Visibility="Collapsed"
|
||
Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
<Border
|
||
x:Name="BoardBorderPenColorPink"
|
||
Background="#db2777"
|
||
BorderBrush="#831843"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45"
|
||
MouseUp="BtnColorPink_Click">
|
||
<Viewbox
|
||
x:Name="BoardViewboxBtnColorPinkContent"
|
||
Visibility="Collapsed"
|
||
Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
<Border
|
||
x:Name="BoardBorderPenColorTeal"
|
||
Background="#0d9488"
|
||
BorderBrush="#134e4a"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45"
|
||
MouseUp="BtnColorTeal_Click">
|
||
<Viewbox
|
||
x:Name="BoardViewboxBtnColorTealContent"
|
||
Visibility="Collapsed"
|
||
Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
<Border
|
||
x:Name="BoardBorderPenColorOrange"
|
||
Background="#ea580c"
|
||
BorderBrush="#7c2d12"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45"
|
||
MouseUp="BtnColorOrange_Click">
|
||
<Viewbox
|
||
x:Name="BoardViewboxBtnColorOrangeContent"
|
||
Visibility="Collapsed"
|
||
Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
</Controls:UniformGrid>
|
||
</ui:SimpleStackPanel>
|
||
</Controls:UniformGrid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Viewbox>
|
||
<Viewbox x:Name="BoardHighlighterPenColorsPanel"
|
||
Visibility="Visible"
|
||
Margin="0,8,0,0" Stretch="Fill">
|
||
<ui:SimpleStackPanel Width="300" Margin="0,0,0,0">
|
||
<!--<TextBlock FontSize="25">画笔颜色</TextBlock>-->
|
||
<Border Width="300" Height="110" BorderBrush="Black"
|
||
BorderThickness="0" CornerRadius="5">
|
||
<Controls:UniformGrid Rows="2" Height="110">
|
||
<ui:SimpleStackPanel Height="45"
|
||
Orientation="Horizontal" Width="270">
|
||
<Controls:UniformGrid Columns="5"
|
||
Width="270"
|
||
Margin="0">
|
||
<Border
|
||
x:Name="BoardHighlighterPenColorBlack"
|
||
BorderBrush="#e4e4e7"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorBlack_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="Black"
|
||
Width="42"
|
||
Height="42"
|
||
CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="BoardHighlighterPenViewboxBtnColorBlackContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
<Border
|
||
x:Name="BoardHighlighterPenColorWhite"
|
||
Background="White"
|
||
BorderBrush="#dddddd"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45"
|
||
MouseUp="BtnHighlighterColorWhite_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="White"
|
||
Width="42"
|
||
Height="42"
|
||
CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="BoardHighlighterPenViewboxBtnColorWhiteContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-black.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
<Border
|
||
x:Name="BoardHighlighterPenColorRed"
|
||
BorderBrush="#fecaca"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorRed_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="#ef4444"
|
||
Width="42"
|
||
Height="42"
|
||
CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="BoardHighlighterPenViewboxBtnColorRedContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
<Border
|
||
x:Name="BoardHighlighterPenColorYellow"
|
||
BorderBrush="#fef08a"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorYellow_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="#eab308"
|
||
Width="42"
|
||
Height="42"
|
||
CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="BoardHighlighterPenViewboxBtnColorYellowContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-black.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
<Border
|
||
x:Name="BoardHighlighterPenColorGreen"
|
||
BorderBrush="#bbf7d0"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorGreen_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="#22c55e"
|
||
Width="42"
|
||
Height="42"
|
||
CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="BoardHighlighterPenViewboxBtnColorGreenContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-black.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
</Controls:UniformGrid>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Height="45"
|
||
Orientation="Horizontal" Width="270">
|
||
<Controls:UniformGrid Columns="5"
|
||
Width="270"
|
||
Margin="0">
|
||
<Border
|
||
x:Name="BoardHighlighterPenColorZinc"
|
||
BorderBrush="#e4e4e7"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorZinc_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="#71717a"
|
||
Width="42"
|
||
Height="42"
|
||
CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="BoardHighlighterPenViewboxBtnColorZincContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
<Border
|
||
x:Name="BoardHighlighterPenColorBlue"
|
||
BorderBrush="#bfdbfe"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorBlue_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="#3b82f6"
|
||
Width="42"
|
||
Height="42"
|
||
CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="BoardHighlighterPenViewboxBtnColorBlueContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
<Border
|
||
x:Name="BoardHighlighterPenPenColorPurple"
|
||
BorderBrush="#e9d5ff"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorPurple_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="#a855f7"
|
||
Width="42"
|
||
Height="42"
|
||
CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="BoardHighlighterPenViewboxBtnColorPurpleContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
<Border
|
||
x:Name="BoardHighlighterPenColorTeal"
|
||
BorderBrush="#99f6e4"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorTeal_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="#14b8a6"
|
||
Width="42"
|
||
Height="42"
|
||
CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="BoardHighlighterPenViewboxBtnColorTealContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-black.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
<Border
|
||
x:Name="BoardHighlighterPenColorOrange"
|
||
BorderBrush="#fed7aa"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorOrange_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="#f97316"
|
||
Width="42"
|
||
Height="42"
|
||
CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="BoardHighlighterPenViewboxBtnColorOrangeContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
</Controls:UniformGrid>
|
||
</ui:SimpleStackPanel>
|
||
</Controls:UniformGrid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Viewbox>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</Grid>
|
||
|
||
</Grid>
|
||
</Border>
|
||
<Border x:Name="BoardEraser" Width="60" Height="50" MouseDown="Border_MouseDown"
|
||
BorderThickness="0,1,1,1" BorderBrush="#a1a1aa"
|
||
MouseUp="BoardEraserIcon_Click" Background="#f4f4f5" Opacity="0.95">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image VerticalAlignment="Top"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing x:Name="BoardEraserGeometry"
|
||
Brush="#18181b"
|
||
Geometry="F1 M24,24z M0,0z M15.6314,20.7262L22.7921,13.5655C24.3494,12.141,24.2819,9.81776,22.8105,8.34633L16.7793,2.31508C15.3547,0.757753,13.0315,0.825236,11.5601,2.29666L4.38099,9.47574 15.6314,20.7262z M14.2172,22.1404L2.96677,10.89 1.20761,12.6491C-0.34971,14.0737,-0.281711,16.3974,1.18971,17.8688L6.15089,22.83 13.5276,22.83 14.2172,22.1404z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Text="橡皮" Foreground="#18181b" VerticalAlignment="Bottom"
|
||
Name="BoardEraserLabel"
|
||
HorizontalAlignment="Center" FontSize="12" />
|
||
</Grid>
|
||
</Border>
|
||
<Border>
|
||
<Grid RenderTransformOrigin="0,1" Margin="-133,-172,13,55">
|
||
<Grid.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform ScaleX="1.5" ScaleY="1.5" />
|
||
<SkewTransform />
|
||
<RotateTransform />
|
||
<TranslateTransform />
|
||
</TransformGroup>
|
||
</Grid.RenderTransform>
|
||
<Border Visibility="Visible" ClipToBounds="True"
|
||
Name="BoardEraserSizePanel"
|
||
CornerRadius="5" Background="#fafafa"
|
||
Opacity="1"
|
||
BorderBrush="#2563eb" BorderThickness="1">
|
||
<ui:SimpleStackPanel Margin="0">
|
||
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
|
||
CornerRadius="6,6,0,0"
|
||
Background="#2563eb" Margin="-1,-1,-1,1">
|
||
<Canvas Height="24" ClipToBounds="True">
|
||
<TextBlock Text="橡皮选项" Canvas.Left="8" Foreground="White"
|
||
Padding="0,5"
|
||
FontSize="11" FontWeight="Bold"
|
||
TextAlignment="Center" />
|
||
</Canvas>
|
||
</Border>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Margin="0,6,0,0"
|
||
Spacing="-2"
|
||
VerticalAlignment="Center"
|
||
HorizontalAlignment="Center">
|
||
<Label Margin="0,0,0,0" Content="大小" FontWeight="Bold"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontSize="10"
|
||
VerticalAlignment="Center" />
|
||
<Viewbox Margin="8,0,0,0" Height="20" Width="52">
|
||
<ComboBox Name="BoardComboBoxEraserSize"
|
||
FontFamily="Microsoft YaHei UI" SelectedIndex="2"
|
||
SelectionChanged="ComboBoxEraserSizeFloatingBar_SelectionChanged">
|
||
<ComboBoxItem Content="很小"
|
||
FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="较小"
|
||
FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="中等"
|
||
FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="较大"
|
||
FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="很大"
|
||
FontFamily="Microsoft YaHei UI" />
|
||
</ComboBox>
|
||
</Viewbox>
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock HorizontalAlignment="Center" Margin="0,8,0,6"
|
||
Text="橡皮形状"
|
||
FontWeight="Bold"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontSize="10" VerticalAlignment="Center" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||
HorizontalAlignment="Center"
|
||
Margin="0,0,0,0" Spacing="4">
|
||
<Border x:Name="BoardCircleEraserTabButton"
|
||
MouseDown="SwitchToCircleEraser"
|
||
Background="#553b82f6" Height="20" Width="40"
|
||
CornerRadius="3">
|
||
<Canvas>
|
||
<ui:SimpleStackPanel
|
||
x:Name="BoardCircleEraserTabButtonIndicator"
|
||
Visibility="Visible" Orientation="Horizontal"
|
||
Canvas.Left="11" Canvas.Right="11"
|
||
Canvas.Bottom="0">
|
||
<Border Width="18" Height="2" Background="#2563eb"
|
||
CornerRadius="1" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Vertical" Height="20"
|
||
Width="40">
|
||
<ui:SimpleStackPanel VerticalAlignment="Center"
|
||
Orientation="Horizontal"
|
||
HorizontalAlignment="Center" Margin="0,3">
|
||
<TextBlock
|
||
x:Name="BoardCircleEraserTabButtonText"
|
||
Foreground="#172554" FontWeight="Medium"
|
||
FontSize="9" TextAlignment="Center"
|
||
Text="圆形擦"
|
||
Margin="2,1,0,0" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Canvas>
|
||
</Border>
|
||
<Border x:Name="BoardRectangleEraserTabButton"
|
||
MouseDown="SwitchToRectangleEraser"
|
||
Background="Transparent"
|
||
Height="20" Width="40" CornerRadius="3">
|
||
<Canvas>
|
||
<ui:SimpleStackPanel Visibility="Collapsed"
|
||
x:Name="BoardRectangleEraserTabButtonIndicator"
|
||
Orientation="Horizontal" Canvas.Left="11"
|
||
Canvas.Right="11" Canvas.Bottom="0">
|
||
<Border Width="18" Height="2" Background="#2563eb"
|
||
CornerRadius="1" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Vertical" Height="20"
|
||
Width="40">
|
||
<ui:SimpleStackPanel VerticalAlignment="Center"
|
||
Orientation="Horizontal"
|
||
HorizontalAlignment="Center" Margin="0,3">
|
||
<TextBlock
|
||
x:Name="BoardRectangleEraserTabButtonText"
|
||
Foreground="#172554" FontWeight="Medium"
|
||
FontSize="9" TextAlignment="Center"
|
||
Text="黑板擦"
|
||
Margin="2,1,0,0" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Canvas>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
<Button Click="BoardSymbolIconDelete_MouseUp" Foreground="White"
|
||
HorizontalAlignment="Center" Margin="0,6,0,0">
|
||
<Button.Resources>
|
||
<SolidColorBrush
|
||
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundKey}"
|
||
Color="#b91c1c" />
|
||
<SolidColorBrush
|
||
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundPointerOverKey}"
|
||
Color="#b91c1c" />
|
||
<SolidColorBrush
|
||
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundPressedKey}"
|
||
Color="#991b1b" />
|
||
</Button.Resources>
|
||
<Button.Content>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="4">
|
||
<Image RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="15">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F0 M24,24z M0,0z M10.1573,10.0421C10.7298,10.0421,11.1938,10.5062,11.1938,11.0787L11.1938,16.6067C11.1938,17.1792 10.7298,17.6433 10.1573,17.6433 9.58485,17.6433 9.12079,17.1792 9.12079,16.6067L9.12079,11.0787C9.12079,10.5062,9.58485,10.0421,10.1573,10.0421z M13.8427,10.0421C14.4151,10.0421,14.8792,10.5062,14.8792,11.0787L14.8792,16.6067C14.8792,17.1792 14.4151,17.6433 13.8427,17.6433 13.2702,17.6433 12.8062,17.1792 12.8062,16.6067L12.8062,11.0787C12.8062,10.5062,13.2702,10.0421,13.8427,10.0421z M3.70787,5.43539C3.13541,5.43539 2.67135,5.89946 2.67135,6.47191 2.67135,7.04436 3.13541,7.50843 3.70787,7.50843L4.51405,7.50843 4.51405,19.3708C4.51405,20.1686 4.9025,20.8796 5.39348,21.3706 5.88445,21.8615 6.59548,22.25 7.39326,22.25L16.6067,22.25C17.4045,22.25 18.1155,21.8615 18.6065,21.3706 19.0975,20.8796 19.486,20.1686 19.486,19.3708L19.486,7.50843 20.2921,7.50843C20.8646,7.50843 21.3287,7.04436 21.3287,6.47191 21.3287,5.89946 20.8646,5.43539 20.2921,5.43539L16.7219,5.43539 16.7219,4.62921C16.7219,3.83143 16.3335,3.12041 15.8425,2.62943 15.3515,2.13845 14.6405,1.75 13.8427,1.75L10.1573,1.75C9.35952,1.75 8.6485,2.13845 8.15752,2.62943 7.66654,3.12041 7.27809,3.83143 7.27809,4.62921L7.27809,5.43539 3.70787,5.43539z M6.58708,19.3708C6.58708,19.4944 6.6593,19.7047 6.85933,19.9047 7.05937,20.1047 7.26969,20.177 7.39326,20.177L16.6067,20.177C16.7303,20.177 16.9406,20.1047 17.1407,19.9047 17.3407,19.7047 17.4129,19.4944 17.4129,19.3708L17.4129,7.50843 6.58708,7.50843 6.58708,19.3708z M9.62338,4.09529C9.42334,4.29532,9.35112,4.50565,9.35112,4.62921L9.35112,5.43539 14.6489,5.43539 14.6489,4.62921C14.6489,4.50565 14.5767,4.29532 14.3766,4.09529 14.1766,3.89525 13.9663,3.82303 13.8427,3.82303L10.1573,3.82303C10.0337,3.82303,9.82341,3.89525,9.62338,4.09529z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock FontSize="11" VerticalAlignment="Center"
|
||
Foreground="White" FontWeight="Bold">
|
||
清空墨迹
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
</Button.Content>
|
||
</Button>
|
||
<Button Click="BoardSymbolIconDeleteInkAndHistories_MouseUp"
|
||
Foreground="White" HorizontalAlignment="Center"
|
||
Margin="0,4,0,0">
|
||
<Button.Resources>
|
||
<SolidColorBrush
|
||
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundKey}"
|
||
Color="#b91c1c" />
|
||
<SolidColorBrush
|
||
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundPointerOverKey}"
|
||
Color="#b91c1c" />
|
||
<SolidColorBrush
|
||
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundPressedKey}"
|
||
Color="#991b1b" />
|
||
</Button.Resources>
|
||
<Button.Content>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="4"
|
||
Margin="-4,-1">
|
||
<Image RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="12">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F0 M24,24z M0,0z M10.1573,10.0421C10.7298,10.0421,11.1938,10.5062,11.1938,11.0787L11.1938,16.6067C11.1938,17.1792 10.7298,17.6433 10.1573,17.6433 9.58485,17.6433 9.12079,17.1792 9.12079,16.6067L9.12079,11.0787C9.12079,10.5062,9.58485,10.0421,10.1573,10.0421z M13.8427,10.0421C14.4151,10.0421,14.8792,10.5062,14.8792,11.0787L14.8792,16.6067C14.8792,17.1792 14.4151,17.6433 13.8427,17.6433 13.2702,17.6433 12.8062,17.1792 12.8062,16.6067L12.8062,11.0787C12.8062,10.5062,13.2702,10.0421,13.8427,10.0421z M3.70787,5.43539C3.13541,5.43539 2.67135,5.89946 2.67135,6.47191 2.67135,7.04436 3.13541,7.50843 3.70787,7.50843L4.51405,7.50843 4.51405,19.3708C4.51405,20.1686 4.9025,20.8796 5.39348,21.3706 5.88445,21.8615 6.59548,22.25 7.39326,22.25L16.6067,22.25C17.4045,22.25 18.1155,21.8615 18.6065,21.3706 19.0975,20.8796 19.486,20.1686 19.486,19.3708L19.486,7.50843 20.2921,7.50843C20.8646,7.50843 21.3287,7.04436 21.3287,6.47191 21.3287,5.89946 20.8646,5.43539 20.2921,5.43539L16.7219,5.43539 16.7219,4.62921C16.7219,3.83143 16.3335,3.12041 15.8425,2.62943 15.3515,2.13845 14.6405,1.75 13.8427,1.75L10.1573,1.75C9.35952,1.75 8.6485,2.13845 8.15752,2.62943 7.66654,3.12041 7.27809,3.83143 7.27809,4.62921L7.27809,5.43539 3.70787,5.43539z M6.58708,19.3708C6.58708,19.4944 6.6593,19.7047 6.85933,19.9047 7.05937,20.1047 7.26969,20.177 7.39326,20.177L16.6067,20.177C16.7303,20.177 16.9406,20.1047 17.1407,19.9047 17.3407,19.7047 17.4129,19.4944 17.4129,19.3708L17.4129,7.50843 6.58708,7.50843 6.58708,19.3708z M9.62338,4.09529C9.42334,4.29532,9.35112,4.50565,9.35112,4.62921L9.35112,5.43539 14.6489,5.43539 14.6489,4.62921C14.6489,4.50565 14.5767,4.29532 14.3766,4.09529 14.1766,3.89525 13.9663,3.82303 13.8427,3.82303L10.1573,3.82303C10.0337,3.82303,9.82341,3.89525,9.62338,4.09529z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock FontSize="9" VerticalAlignment="Center"
|
||
Foreground="White">
|
||
清空墨迹和历史
|
||
</TextBlock>
|
||
</ui:SimpleStackPanel>
|
||
</Button.Content>
|
||
</Button>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</Grid>
|
||
</Border>
|
||
<Border x:Name="BoardEraserByStrokes" Width="60" Height="55"
|
||
MouseDown="Border_MouseDown"
|
||
Visibility="Collapsed"
|
||
MouseUp="BoardEraserIconByStrokes_Click" Background="LightGray"
|
||
Opacity="0.85">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image VerticalAlignment="Top"
|
||
Source="/Resources/Icons-png/eraser-line.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="28" Width="28" />
|
||
<TextBlock Text="墨迹擦" Foreground="Black" VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center" FontSize="12" />
|
||
</Grid>
|
||
</Border>
|
||
<Border x:Name="BoardGeometry" Width="60" Height="50" MouseDown="Border_MouseDown"
|
||
BorderThickness="0,1,1,1" BorderBrush="#a1a1aa"
|
||
MouseUp="ImageDrawShape_MouseUp" Background="#f4f4f5" Opacity="0.95">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image VerticalAlignment="Top"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F1 M24,24z M0,0z M17.8604,10.7597L12.0068,1.17001 6.13961,10.7597 17.8604,10.7597z" />
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F1 M24,24z M0,0z M10.9345,13.2403L1.34476,13.2403 1.34476,22.83 10.9345,22.83 10.9345,13.2403z" />
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F1 M24,24z M0,0z M17.8604,13.2403C15.2122,13.2403 13.0655,15.387 13.0655,18.0352 13.0655,20.6833 15.2122,22.83 17.8604,22.83 20.5085,22.83 22.6552,20.6833 22.6552,18.0352 22.6552,15.387 20.5085,13.2403 17.8604,13.2403z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Text="图形" Foreground="Black" VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center" FontSize="12" />
|
||
</Grid>
|
||
</Border>
|
||
<Border Width="0">
|
||
<Border x:Name="BoardBorderDrawShape" Visibility="Visible"
|
||
Background="LightGray"
|
||
Opacity="0.85" BorderBrush="Black" BorderThickness="1" CornerRadius="5"
|
||
Margin="-147,-286,-89,59">
|
||
<Viewbox>
|
||
<ui:SimpleStackPanel Spacing="-8" Orientation="Vertical">
|
||
<TextBlock FontSize="16"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
HorizontalAlignment="Left" Margin="10,8">
|
||
<Run Text="图形" />
|
||
<Run Text="(第一行支持长按保持选中)" FontSize="10" />
|
||
</TextBlock>
|
||
<ui:SymbolIcon Margin="0,-20,8,15" Symbol="Pin"
|
||
MouseDown="Border_MouseDown"
|
||
MouseUp="SymbolIconPinBorderDrawShape_MouseUp"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
HorizontalAlignment="Right" />
|
||
<ui:SimpleStackPanel Margin="20,0,0,0" Orientation="Horizontal">
|
||
<ui:SimpleStackPanel Visibility="Collapsed" Margin="58,6,5,6"
|
||
Width="54">
|
||
<Label Margin="0,0,0,-2" Content="自动隐藏"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontSize="13"
|
||
VerticalAlignment="Center" />
|
||
<Viewbox Height="25">
|
||
<ui:ToggleSwitch
|
||
Name="ToggleSwitchDrawShapeBorderAutoHide"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontFamily="Microsoft YaHei UI" Width="70"
|
||
IsOn="True" />
|
||
</Viewbox>
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Height="50" Spacing="14"
|
||
Orientation="Horizontal">
|
||
<Image Name="ImageDrawLine" Margin="16,12,0,12"
|
||
MouseDown="Image_MouseDown"
|
||
MouseUp="BtnDrawLine_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Line}" />
|
||
<Image Name="ImageDrawDashedLine" Margin="0,12,0,12"
|
||
MouseDown="Image_MouseDown"
|
||
MouseUp="BtnDrawDashedLine_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.DashedLine}" />
|
||
<Image Name="ImageDrawDotLine" Margin="0,12,0,12"
|
||
MouseDown="Image_MouseDown"
|
||
MouseUp="BtnDrawDotLine_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.DotLine}" />
|
||
<Image Name="ImageDrawArrow" Margin="0,12,0,12"
|
||
MouseDown="Image_MouseDown"
|
||
MouseUp="BtnDrawArrow_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.ArrowLine}" />
|
||
<Image Name="ImageDrawParallelLine" Margin="0,11.5,16,11.5"
|
||
MouseDown="Image_MouseDown"
|
||
MouseUp="BtnDrawParallelLine_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.ParallelLine}" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Height="50" Spacing="15"
|
||
Orientation="Horizontal">
|
||
<Image Margin="16,12,0,12" MouseUp="BtnDrawCoordinate1_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Coordinate1}" />
|
||
<Image Margin="0,12" MouseUp="BtnDrawCoordinate2_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Coordinate2}" />
|
||
<Image Margin="0,12" MouseUp="BtnDrawCoordinate3_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Coordinate3}" />
|
||
<Image Margin="0,12" MouseUp="BtnDrawCoordinate4_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Coordinate4}" />
|
||
<Image Margin="-1,11.5" MouseUp="BtnDrawCoordinate5_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Coordinate5}" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Height="50" Spacing="10"
|
||
Orientation="Horizontal">
|
||
<Image Margin="16,11,2,11"
|
||
MouseUp="BtnDrawRectangleCenter_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.RectangleCenter}" />
|
||
<Image Visibility="Collapsed" Margin="0,10"
|
||
MouseUp="BtnDrawEllipse_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Ellipse}" />
|
||
<Image Margin="0,10" MouseUp="BtnDrawCircle_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Circle}" />
|
||
<Image Margin="0,10" MouseUp="BtnDrawDashedCircle_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.DashedCircle}" />
|
||
<Image Margin="0,10" MouseUp="BtnDrawCenterEllipse_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.EllipseCenter}"
|
||
Width="30" />
|
||
<Image Margin="0,10"
|
||
MouseUp="BtnDrawCenterEllipseWithFocalPoint_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.EllipseCenterWithFocalPoint}"
|
||
Width="30" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Height="50" Spacing="10"
|
||
Orientation="Horizontal">
|
||
<Image Margin="16,10,2,10" MouseUp="BtnDrawHyperbola_Click"
|
||
Width="26"
|
||
Source="{DynamicResource DrawShapeImageSource.Hyperbola}" />
|
||
<Image Margin="4,10,2,10"
|
||
MouseUp="BtnDrawHyperbolaWithFocalPoint_Click"
|
||
Width="26"
|
||
Source="{DynamicResource DrawShapeImageSource.HyperbolaWithFocalPoint}" />
|
||
<Image Margin="2.5,10,2,10" MouseUp="BtnDrawParabola1_Click"
|
||
Width="26"
|
||
Source="{DynamicResource DrawShapeImageSource.Parabola}" />
|
||
<Image Margin="1,10,2,10"
|
||
MouseUp="BtnDrawParabolaWithFocalPoint_Click"
|
||
Width="26"
|
||
Source="{DynamicResource DrawShapeImageSource.ParabolaWithFocalPoint}"
|
||
RenderTransformOrigin="0.5,0.5">
|
||
<Image.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform />
|
||
<SkewTransform />
|
||
<RotateTransform Angle="90" />
|
||
<TranslateTransform />
|
||
</TransformGroup>
|
||
</Image.RenderTransform>
|
||
</Image>
|
||
<Image Margin="2,10,2,10" MouseUp="BtnDrawParabola2_Click"
|
||
Width="26"
|
||
Source="{DynamicResource DrawShapeImageSource.Parabola}"
|
||
RenderTransformOrigin="0.5,0.5">
|
||
<Image.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform />
|
||
<SkewTransform />
|
||
<RotateTransform Angle="90" />
|
||
<TranslateTransform />
|
||
</TransformGroup>
|
||
</Image.RenderTransform>
|
||
</Image>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Height="50" Spacing="10"
|
||
Orientation="Horizontal">
|
||
<Image Margin="15,11,2,11" MouseUp="BtnDrawRectangle_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Rectangle}" />
|
||
<Image Margin="6,10,2,10" MouseUp="BtnDrawCylinder_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Cylinder}" />
|
||
<Image Margin="8,12.5,0,10" MouseUp="BtnDrawCone_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Cone}" />
|
||
<Image Margin="5.5,12.5,2.5,10" MouseUp="BtnDrawCuboid_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Cuboid}" />
|
||
<Image Visibility="Collapsed" Margin="0,11.5,2.5,9.5"
|
||
MouseUp="BtnDrawCuboid_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Tetrahedron}" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Viewbox>
|
||
</Border>
|
||
</Border>
|
||
<Border x:Name="BoardUndo" Width="60" Height="50" MouseDown="Border_MouseDown"
|
||
MouseUp="SymbolIconUndo_MouseUp" BorderThickness="0,1,0,1"
|
||
BorderBrush="#a1a1aa"
|
||
IsEnabled="{Binding ElementName=BtnUndo, Path=IsEnabled}"
|
||
Background="#f4f4f5"
|
||
Opacity="0.95">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image VerticalAlignment="Top"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20"
|
||
Opacity="{Binding ElementName=BtnUndo, Path=IsEnabled, Converter={StaticResource IsEnabledToOpacityConverter}}">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F1 M24,24z M0,0z M8.71408,16.8493L0.874451,9.00964 8.71408,1.17001 8.71408,7.42358 15.7239,7.42358C16.7074,7.42358 17.6791,7.62744 18.583,8.02124 19.4866,8.41493 20.3023,8.98966 20.9857,9.70849 21.6689,10.4271 22.2069,11.276 22.5726,12.2047 22.9383,13.1333 23.1256,14.126 23.1256,15.1268 23.1256,16.1276 22.9383,17.1203 22.5726,18.0489 22.2069,18.9776 21.6689,19.8264 20.9857,20.5451 20.3023,21.2639 19.4866,21.8387 18.583,22.2324 17.6791,22.6262 16.7074,22.83 15.7239,22.83L10.437,22.83 10.437,19.6579 15.7239,19.6579C16.2679,19.6579 16.8086,19.5453 17.3159,19.3243 17.8235,19.1031 18.29,18.7767 18.6867,18.3594 19.0835,17.942 19.4023,17.4422 19.6211,16.8866 19.8399,16.3308 19.9534,15.7326 19.9534,15.1268 19.9534,14.5209 19.8399,13.9227 19.6211,13.367 19.4023,12.8114 19.0835,12.3115 18.6867,11.8941 18.29,11.4769 17.8235,11.1505 17.3159,10.9293 16.8086,10.7083 16.2679,10.5957 15.7239,10.5957L8.71408,10.5957 8.71408,16.8493z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Text="撤销" Foreground="Black" VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center" FontSize="12" />
|
||
</Grid>
|
||
</Border>
|
||
<Border x:Name="BoardRedo" Width="60" Height="50" CornerRadius="0,5,5,0"
|
||
MouseDown="Border_MouseDown" MouseUp="SymbolIconRedo_MouseUp"
|
||
BorderThickness="0,1,1,1"
|
||
BorderBrush="#a1a1aa"
|
||
IsEnabled="{Binding ElementName=BtnRedo, Path=IsEnabled}"
|
||
Background="#f4f4f5"
|
||
Opacity="0.95">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image VerticalAlignment="Top"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20"
|
||
Opacity="{Binding ElementName=BtnRedo, Path=IsEnabled, Converter={StaticResource IsEnabledToOpacityConverter}}">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F1 M24,24z M0,0z M15.2859,16.8493L23.1255,9.00964 15.2859,1.17001 15.2859,7.42358 8.27607,7.42358C7.29262,7.42358 6.32086,7.62744 5.41703,8.02124 4.51341,8.41493 3.69773,8.98966 3.01434,9.70849 2.33111,10.4271 1.79312,11.276 1.42741,12.2047 1.06174,13.1333 0.874422,14.126 0.874422,15.1268 0.874422,16.1276 1.06174,17.1203 1.42741,18.0489 1.79312,18.9776 2.33111,19.8264 3.01434,20.5451 3.69773,21.2639 4.51341,21.8387 5.41703,22.2324 6.32086,22.6262 7.29262,22.83 8.27607,22.83L13.563,22.83 13.563,19.6579 8.27607,19.6579C7.7321,19.6579 7.19139,19.5453 6.68406,19.3243 6.17652,19.1031 5.70999,18.7767 5.31333,18.3594 4.91651,17.942 4.59775,17.4422 4.37894,16.8866 4.1601,16.3308 4.04656,15.7326 4.04656,15.1268 4.04656,14.5209 4.1601,13.9227 4.37894,13.367 4.59775,12.8114 4.91651,12.3115 5.31333,11.8941 5.70999,11.4769 6.17652,11.1505 6.68406,10.9293 7.19139,10.7083 7.7321,10.5957 8.27607,10.5957L15.2859,10.5957 15.2859,16.8493z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Text="重做" Foreground="Black" VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center" FontSize="12" />
|
||
</Grid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
|
||
<Border CornerRadius="5,5,5,5" Background="#f4f4f5">
|
||
<ui:SimpleStackPanel Orientation="Horizontal">
|
||
<Border Width="60" Height="50" MouseDown="Border_MouseDown"
|
||
MouseUp="SymbolIconTools_MouseUp" Background="#f4f4f5" Opacity="0.95"
|
||
BorderThickness="1,1,0,1" BorderBrush="#a1a1aa"
|
||
CornerRadius="5,0,0,5">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image VerticalAlignment="Top"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F1 M24,24z M0,0z M3.336,1.17001C2.13975,1.17001,1.17,2.13976,1.17,3.33601L1.17,8.75101C1.17,9.94726,2.13975,10.917,3.336,10.917L8.751,10.917C9.94725,10.917,10.917,9.94726,10.917,8.75101L10.917,3.33601C10.917,2.13976,9.94725,1.17001,8.751,1.17001L3.336,1.17001z M15.249,1.17001C14.0527,1.17001,13.083,2.13976,13.083,3.33601L13.083,8.75101C13.083,9.94726,14.0527,10.917,15.249,10.917L20.664,10.917C21.8602,10.917,22.83,9.94726,22.83,8.75101L22.83,3.33601C22.83,2.13976,21.8602,1.17001,20.664,1.17001L15.249,1.17001z M3.336,13.083C2.13975,13.083,1.17,14.0528,1.17,15.249L1.17,20.664C1.17,21.8603,2.13975,22.83,3.336,22.83L8.751,22.83C9.94725,22.83,10.917,21.8603,10.917,20.664L10.917,15.249C10.917,14.0528,9.94725,13.083,8.751,13.083L3.336,13.083z M15.249,13.083C14.0527,13.083,13.083,14.0528,13.083,15.249L13.083,20.664C13.083,21.8603,14.0527,22.83,15.249,22.83L20.664,22.83C21.8602,22.83,22.83,21.8603,22.83,20.664L22.83,15.249C22.83,14.0528,21.8602,13.083,20.664,13.083L15.249,13.083z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Text="工具" Foreground="Black" VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center" FontSize="12" />
|
||
</Grid>
|
||
</Border>
|
||
<Border>
|
||
<Grid Width="0" Margin="0,0,0,5" RenderTransformOrigin="0,1">
|
||
<Grid.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform ScaleX="1.5" ScaleY="1.5" />
|
||
<SkewTransform />
|
||
<RotateTransform />
|
||
<TranslateTransform />
|
||
</TransformGroup>
|
||
</Grid.RenderTransform>
|
||
<Border ClipToBounds="True" Name="BoardBorderTools"
|
||
Margin="-105,-138.5,-14,33.5"
|
||
CornerRadius="5" Background="#fafafa" Opacity="1"
|
||
BorderThickness="1"
|
||
BorderBrush="#2563eb">
|
||
<ui:SimpleStackPanel Margin="-1,0,0,0">
|
||
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
|
||
CornerRadius="6,6,0,0" Background="#2563eb"
|
||
Margin="-1,-1,-1,0"
|
||
Padding="1,1,1,0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||
HorizontalAlignment="Stretch">
|
||
<TextBlock Text="更多功能" Foreground="White"
|
||
Padding="8,5,44,5"
|
||
FontSize="11" FontWeight="Bold"
|
||
TextAlignment="Center" />
|
||
<Image Margin="0,0,0,0"
|
||
Source="/Resources/new-icons/close-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="16"
|
||
Width="16" MouseDown="Border_MouseDown"
|
||
MouseUp="CloseBordertools_MouseUp" />
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<!---->
|
||
<ui:SimpleStackPanel Margin="10,3,10,2" Spacing="-2">
|
||
<ui:SimpleStackPanel Margin="0,0,0,0" Height="40" Spacing="0"
|
||
Orientation="Horizontal">
|
||
<ui:SimpleStackPanel MouseDown="Border_MouseDown"
|
||
MouseUp="ImageCountdownTimer_MouseUp"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M12,3C11.7613,3 11.5324,3.09482 11.3636,3.2636 11.1948,3.43239 11.1,3.6613 11.1,3.9L11.1,6.6C11.1,7.09705 11.5029,7.5 12,7.5 12.4971,7.5 12.9,7.09705 12.9,6.6L12.9,4.85646C14.3196,5.0353 15.6613,5.63436 16.7472,6.58675 18.0606,7.73848 18.9104,9.32838 19.1384,11.0602 19.3664,12.792 18.957,14.5477 17.9865,16.0001 17.0162,17.4525 15.5508,18.5026 13.8635,18.9547 12.1762,19.4067 10.3822,19.2301 8.81552,18.4575 7.24888,17.6849 6.01653,16.3691 5.34806,14.7554 4.67961,13.1415 4.62062,11.3397 5.1821,9.68563 5.49617,8.76044 5.99235,7.91676 6.63344,7.2 6.96481,6.8295 6.93309,6.26054 6.5626,5.92917 6.19212,5.59781 5.62315,5.62952 5.29179,6.00001 4.49049,6.8959 3.87021,7.95054 3.47763,9.10704 2.77577,11.1746 2.84951,13.4269 3.68509,15.4441 4.52067,17.4614 6.0611,19.1061 8.0194,20.0718 9.97769,21.0375 12.2203,21.2585 14.3294,20.6933 16.4384,20.1282 18.2701,18.8156 19.4832,17.0001 20.6963,15.1847 21.208,12.9901 20.923,10.8252 20.638,8.66047 19.5758,6.67311 17.9341,5.23344 16.2925,3.79377 14.1835,3 12,3z M9.0364,7.7636C8.68492,7.41213 8.11508,7.41213 7.7636,7.7636 7.41213,8.11508 7.41213,8.68492 7.7636,9.0364L10.2609,11.5338C10.2212,11.6825 10.2,11.8387 10.2,12 10.2,12.9941 11.0059,13.8 12,13.8 12.9941,13.8 13.8,12.9941 13.8,12 13.8,11.0059 12.9941,10.2 12,10.2 11.8387,10.2 11.6825,10.2212 11.5338,10.2609L9.0364,7.7636z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="计时器" FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel x:Name="RandomDrawPanel" Visibility="Collapsed" MouseDown="Border_MouseDown"
|
||
MouseUp="SymbolIconRand_MouseUp"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M15.9475,4.75965C15.7358,5.18305,15.9074,5.69791,16.3308,5.90961L16.9034,6.19589C14.0673,6.82039 11.7039,8.89176 10.7582,11.729 9.8511,14.4502 7.3045,16.2857 4.43608,16.2857L3.85713,16.2857C3.38376,16.2857 3,16.6694 3,17.1428 3,17.6162 3.38376,17.9999 3.85713,17.9999L4.43608,17.9999C8.04237,17.9999 11.2441,15.6923 12.3845,12.271 13.2915,9.54985 15.8381,7.71436 18.7066,7.71436L20.124,7.71436C20.1661,7.71524 20.208,7.71301 20.2494,7.70777 20.4903,7.67729 20.7143,7.54515 20.8554,7.33338 20.9116,7.24952 20.9533,7.15519 20.9771,7.05396 21.001,6.95301 21.0059,6.85024 20.9932,6.75036 20.9627,6.50938 20.8304,6.28523 20.6184,6.14418 20.5838,6.12101 20.5474,6.1003 20.5094,6.08229L17.0974,4.37632C16.674,4.16462,16.1592,4.33624,15.9475,4.75965z M20.8557,16.667C20.9116,16.7507 20.9533,16.8447 20.977,16.9456 21.001,17.0467 21.0059,17.1497 20.9932,17.2498 20.9626,17.4908 20.8303,17.7148 20.6185,17.8558 20.5838,17.8791 20.5474,17.8997 20.5094,17.9177L17.0975,19.6237C16.674,19.8354 16.1592,19.6638 15.9475,19.2404 15.7358,18.817 15.9074,18.3022 16.3308,18.0904L17.0491,17.7313C15.7728,17.4079 14.5941,16.8029 13.5952,15.9737 13.231,15.6713 13.1809,15.1308 13.4833,14.7667 13.7857,14.4025 14.3261,14.3523 14.6903,14.6547 15.9326,15.6862 17.5188,16.2857 19.2067,16.2857L20.1241,16.2857C20.1662,16.2848 20.2081,16.287 20.2495,16.2923 20.4905,16.3228 20.7146,16.455 20.8557,16.667z M3,6.85722C3,6.38384,3.38376,6.00009,3.85713,6.00009L4.36455,6.00009C6.25231,6.00009 8.03834,6.60414 9.50119,7.6588 9.88517,7.93565 9.972,8.47136 9.69519,8.85534 9.41835,9.23934 8.88264,9.32619 8.49866,9.04935 7.32072,8.2001 5.88391,7.71436 4.36455,7.71436L3.85713,7.71436C3.38376,7.71436,3,7.3306,3,6.85722z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="随机抽" FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel x:Name="SingleDrawPanel" Visibility="Collapsed" MouseDown="Border_MouseDown"
|
||
MouseUp="SymbolIconRandOne_MouseUp"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M3.9,9.3C4.39706,9.3,4.8,8.89706,4.8,8.4L4.8,4.8 8.4,4.8C8.89705,4.8 9.3,4.39706 9.3,3.9 9.3,3.40295 8.89705,3 8.4,3L3.9,3C3.6613,3 3.43239,3.09482 3.2636,3.2636 3.09482,3.43239 3,3.6613 3,3.9L3,8.4C3,8.89706,3.40295,9.3,3.9,9.3z M3.9,14.7C4.39706,14.7,4.8,15.1029,4.8,15.6L4.8,19.2 8.4,19.2C8.89705,19.2 9.3,19.6029 9.3,20.1 9.3,20.5971 8.89705,21 8.4,21L3.9,21C3.6613,21 3.43239,20.9051 3.2636,20.7364 3.09482,20.5676 3,20.3387 3,20.1L3,15.6C3,15.1029,3.40295,14.7,3.9,14.7z M20.1,9.3C19.6029,9.3,19.2,8.89706,19.2,8.4L19.2,4.8 15.6,4.8C15.1029,4.8 14.7,4.39706 14.7,3.9 14.7,3.40295 15.1029,3 15.6,3L20.1,3C20.3387,3 20.5676,3.09482 20.7364,3.2636 20.9051,3.43239 21,3.6613 21,3.9L21,8.4C21,8.89706,20.5971,9.3,20.1,9.3z M20.1,14.7C19.6029,14.7,19.2,15.1029,19.2,15.6L19.2,19.2 15.6,19.2C15.1029,19.2 14.7,19.6029 14.7,20.1 14.7,20.5971 15.1029,21 15.6,21L20.1,21C20.3387,21 20.5676,20.9051 20.7364,20.7364 20.9051,20.5676 21,20.3387 21,20.1L21,15.6C21,15.1029,20.5971,14.7,20.1,14.7z M8.4,10.2C8.4,8.21177 10.0118,6.6 12,6.6 13.9882,6.6 15.6,8.21177 15.6,10.2 15.6,12.1882 13.9882,13.8 12,13.8 10.0118,13.8 8.4,12.1882 8.4,10.2z M12,8.4C11.0059,8.4 10.2,9.20589 10.2,10.2 10.2,11.1941 11.0059,12 12,12 12.9941,12 13.8,11.1941 13.8,10.2 13.8,9.20589 12.9941,8.4 12,8.4z M7.5,16.5C7.5,16.0029,7.90295,15.6,8.4,15.6L15.6,15.6C16.0971,15.6 16.5,16.0029 16.5,16.5 16.5,16.9971 16.0971,17.4 15.6,17.4L8.4,17.4C7.90295,17.4,7.5,16.9971,7.5,16.5z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="单次抽选" FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,0,0,0" Height="40" Spacing="0"
|
||
Orientation="Horizontal">
|
||
<ui:SimpleStackPanel MouseDown="Border_MouseDown"
|
||
MouseUp="SymbolIconSaveStrokes_MouseUp"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M6,5C5.73478,5 5.48043,5.10536 5.29289,5.29289 5.10536,5.48043 5,5.73478 5,6L5,18C5,18.2652 5.10536,18.5196 5.29289,18.7071 5.48043,18.8946 5.73478,19 6,19L18,19C18.2652,19 18.5196,18.8946 18.7071,18.7071 18.8946,18.5196 19,18.2652 19,18L19,8.41421 15.5858,5 15,5 15,8C15,8.55228,14.5523,9,14,9L8,9C7.44772,9,7,8.55228,7,8L7,5 6,5z M8,3L6,3C5.20435,3 4.44129,3.31607 3.87868,3.87868 3.31607,4.44129 3,5.20435 3,6L3,18C3,18.7956 3.31607,19.5587 3.87868,20.1213 4.44129,20.6839 5.20435,21 6,21L18,21C18.7957,21 19.5587,20.6839 20.1213,20.1213 20.6839,19.5587 21,18.7957 21,18L21,8C21,7.73478,20.8946,7.48043,20.7071,7.29289L16.7071,3.29289C16.5196,3.10536,16.2652,3,16,3L14,3 8,3z M9,5L9,7 13,7 13,5 9,5z M9.87868,11.8787C10.4413,11.3161 11.2043,11 12,11 12.7957,11 13.5587,11.3161 14.1213,11.8787 14.6839,12.4413 15,13.2043 15,14 15,14.7957 14.6839,15.5587 14.1213,16.1213 13.5587,16.6839 12.7957,17 12,17 11.2043,17 10.4413,16.6839 9.87868,16.1213 9.31607,15.5587 9,14.7957 9,14 9,13.2043 9.31607,12.4413 9.87868,11.8787z M12,13C11.7348,13 11.4804,13.1054 11.2929,13.2929 11.1054,13.4804 11,13.7348 11,14 11,14.2652 11.1054,14.5196 11.2929,14.7071 11.4804,14.8946 11.7348,15 12,15 12.2652,15 12.5196,14.8946 12.7071,14.7071 12.8946,14.5196 13,14.2652 13,14 13,13.7348 12.8946,13.4804 12.7071,13.2929 12.5196,13.1054 12.2652,13 12,13z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="保存" FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseDown="Border_MouseDown"
|
||
MouseUp="SymbolIconOpenStrokes_MouseUp"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M5,5C4.73478,5 4.48043,5.10536 4.29289,5.29289 4.10536,5.48043 4,5.73478 4,6L4,17C4,17.2652 4.10536,17.5196 4.29289,17.7071 4.32236,17.7366 4.35349,17.764 4.38604,17.7893L6.82062,11.298C6.82065,11.2979 6.8206,11.2981 6.82062,11.298 6.96351,10.9169 7.21932,10.5883 7.55377,10.3564 7.88827,10.1245 8.28558,10.0002 8.69262,10L20,10 20,9C20,8.73478 19.8946,8.48043 19.7071,8.29289 19.5196,8.10536 19.2652,8 19,8L12,8C11.7348,8,11.4804,7.89464,11.2929,7.70711L8.58579,5 5,5z M20.9992,12L8.69338,12 6.44307,18 19.0257,18C19.0258,18 19.0256,18 19.0257,18 19.2583,17.9999 19.4838,17.9187 19.663,17.7705 19.8422,17.6222 19.9641,17.416 20.0077,17.1875L20.9992,12z M22,10.2682C22.1988,10.383 22.3767,10.5315 22.5256,10.7073 22.7133,10.9288 22.8504,11.1885 22.9276,11.4684 23.0048,11.7483 23.0201,12.0416 22.9725,12.328L22.9682,12.3517 21.9723,17.5625C21.8414,18.248 21.4756,18.8665 20.9379,19.3114 20.4002,19.7563 19.7242,19.9998 19.0263,20L5,20C4.20435,20 3.44129,19.6839 2.87868,19.1213 2.31607,18.5587 2,17.7956 2,17L2,6C2,5.20435 2.31607,4.44129 2.87868,3.87868 3.44129,3.31607 4.20435,3 5,3L9,3C9.26522,3,9.51957,3.10536,9.70711,3.29289L12.4142,6 19,6C19.7957,6 20.5587,6.31607 21.1213,6.87868 21.6839,7.44129 22,8.20435 22,9L22,10.2682z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="打开..." FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseDown="Border_MouseDown"
|
||
MouseUp="GridInkReplayButton_MouseUp"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M11,4.99999C11,4.60761 10.7705,4.25149 10.4132,4.08935 10.0559,3.92722 9.63679,3.98903 9.3415,4.24741L1.3415,11.2474C1.12448,11.4373 1,11.7116 1,12 1,12.2883 1.12448,12.5627 1.3415,12.7526L9.3415,19.7526C9.63679,20.0109 10.0559,20.0728 10.4132,19.9106 10.7705,19.7485 11,19.3924 11,19L11,4.99999z M9,16.7962L3.51859,12 9,7.20375 9,16.7962z M22,4.99999C22,4.60761 21.7705,4.25149 21.4132,4.08935 21.0559,3.92722 20.6368,3.98903 20.3415,4.24741L12.3415,11.2474C12.1245,11.4373 12,11.7116 12,12 12,12.2883 12.1245,12.5627 12.3415,12.7526L20.3415,19.7526C20.6368,20.0109 21.0559,20.0728 21.4132,19.9106 21.7705,19.7485 22,19.3924 22,19L22,4.99999z M20,16.7962L14.5186,12 20,7.20375 20,16.7962z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="重播" FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,0,0,0" Height="40" Spacing="0"
|
||
Orientation="Horizontal">
|
||
<ui:SimpleStackPanel MouseDown="Border_MouseDown"
|
||
MouseUp="SymbolIconScreenshot_MouseUp"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M9,3C8.46957,3 7.96086,3.21071 7.58579,3.58579 7.21071,3.96086 7,4.46957 7,5 7,5.26522 6.89464,5.51957 6.70711,5.70711 6.51957,5.89464 6.26522,6 6,6L5,6C4.20435,6 3.44129,6.31607 2.87868,6.87868 2.31607,7.44129 2,8.20435 2,9L2,18C2,18.7956 2.31607,19.5587 2.87868,20.1213 3.44129,20.6839 4.20435,21 5,21L19,21C19.7957,21 20.5587,20.6839 21.1213,20.1213 21.6839,19.5587 22,18.7957 22,18L22,9C22,8.20435 21.6839,7.44129 21.1213,6.87868 20.5587,6.31607 19.7957,6 19,6L18,6C17.7348,6 17.4804,5.89464 17.2929,5.70711 17.1054,5.51957 17,5.26522 17,5 17,4.46957 16.7893,3.96086 16.4142,3.58579 16.0391,3.21071 15.5304,3 15,3L9,3z M9,5L15,5C15,5.79565 15.3161,6.55871 15.8787,7.12132 16.4413,7.68393 17.2044,8 18,8L19,8C19.2652,8 19.5196,8.10536 19.7071,8.29289 19.8946,8.48043 20,8.73478 20,9L20,18C20,18.2652 19.8946,18.5196 19.7071,18.7071 19.5196,18.8946 19.2652,19 19,19L5,19C4.73478,19 4.48043,18.8946 4.29289,18.7071 4.10536,18.5196 4,18.2652 4,18L4,9C4,8.73478 4.10536,8.48043 4.29289,8.29289 4.48043,8.10536 4.73478,8 5,8L6,8C6.79565,8 7.55871,7.68393 8.12132,7.12132 8.68393,6.55871 9,5.79565 9,5z M12,9C10.9391,9 9.92172,9.42143 9.17157,10.1716 8.42143,10.9217 8,11.9391 8,13 8,14.0609 8.42143,15.0783 9.17157,15.8284 9.92172,16.5786 10.9391,17 12,17 13.0609,17 14.0783,16.5786 14.8284,15.8284 15.5786,15.0783 16,14.0609 16,13 16,11.9391 15.5786,10.9217 14.8284,10.1716 14.0783,9.42143 13.0609,9 12,9z M10.5858,11.5858C10.9609,11.2107 11.4696,11 12,11 12.5304,11 13.0391,11.2107 13.4142,11.5858 13.7893,11.9609 14,12.4696 14,13 14,13.5304 13.7893,14.0391 13.4142,14.4142 13.0391,14.7893 12.5304,15 12,15 11.4696,15 10.9609,14.7893 10.5858,14.4142 10.2107,14.0391 10,13.5304 10,13 10,12.4696 10.2107,11.9609 10.5858,11.5858z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="截屏" FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseDown="Border_MouseDown"
|
||
MouseUp="OperatingGuideWindowIcon_MouseUp"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M8.17317,2.7612C9.38642,2.25866 10.6868,2 12,2 13.3132,2 14.6136,2.25866 15.8268,2.7612 17.0401,3.26375 18.1425,4.00035 19.0711,4.92893 19.9997,5.85752 20.7362,6.95991 21.2388,8.17317 21.7413,9.38642 22,10.6868 22,12 22,13.3132 21.7413,14.6136 21.2388,15.8268 20.7362,17.0401 19.9997,18.1425 19.0711,19.0711 18.1425,19.9997 17.0401,20.7362 15.8268,21.2388 14.6136,21.7413 13.3132,22 12,22 10.6868,22 9.38642,21.7413 8.17317,21.2388 6.95991,20.7362 5.85752,19.9997 4.92893,19.0711 4.00035,18.1425 3.26375,17.0401 2.7612,15.8268 2.25866,14.6136 2,13.3132 2,12 2,10.6868 2.25866,9.38642 2.7612,8.17317 3.26375,6.95991 4.00035,5.85752 4.92893,4.92893 5.85752,4.00035 6.95991,3.26375 8.17317,2.7612z M12,4C10.9494,4 9.90914,4.20693 8.93853,4.60896 7.96793,5.011 7.08601,5.60028 6.34315,6.34315 5.60028,7.08601 5.011,7.96793 4.60896,8.93853 4.20693,9.90914 4,10.9494 4,12 4,13.0506 4.20693,14.0909 4.60896,15.0615 5.011,16.0321 5.60028,16.914 6.34315,17.6569 7.08601,18.3997 7.96793,18.989 8.93853,19.391 9.90914,19.7931 10.9494,20 12,20 13.0506,20 14.0909,19.7931 15.0615,19.391 16.0321,18.989 16.914,18.3997 17.6569,17.6569 18.3997,16.914 18.989,16.0321 19.391,15.0615 19.7931,14.0909 20,13.0506 20,12 20,10.9494 19.7931,9.90914 19.391,8.93853 18.989,7.96793 18.3997,7.08602 17.6569,6.34315 16.914,5.60028 16.0321,5.011 15.0615,4.60896 14.0909,4.20693 13.0506,4 12,4z M12,16C12.5523,16,13,16.4477,13,17L13,17.01C13,17.5623 12.5523,18.01 12,18.01 11.4477,18.01 11,17.5623 11,17.01L11,17C11,16.4477,11.4477,16,12,16z M12.0813,5.97153C11.5241,5.96998 10.9742,6.09779 10.4748,6.3449 9.97535,6.59201 9.54013,6.95167 9.20334,7.39557 8.86952,7.83555 8.95559,8.46284 9.39557,8.79666 9.83555,9.13047 10.4628,9.04441 10.7967,8.60443 10.9463,8.40714 11.1398,8.24729 11.3617,8.13746 11.5837,8.02764 11.8281,7.97083 12.0758,7.97152 12.3234,7.97221 12.5675,8.03037 12.7888,8.14142 13.0102,8.25248 13.2027,8.4134 13.3513,8.61151 13.4999,8.80963 13.6005,9.03953 13.6451,9.28311 13.6897,9.5267 13.6772,9.77732 13.6086,10.0152 13.5399,10.2532 13.4169,10.4719 13.2493,10.6542 13.084,10.8341 12.8798,10.9736 12.6524,11.0623 12.1479,11.2435 11.7149,11.5821 11.4175,12.0283 11.1169,12.4792 10.9709,13.0156 11.0016,13.5566 11.0329,14.108 11.5052,14.5297 12.0566,14.4984 12.608,14.4671 13.0297,13.9948 12.9984,13.4434 12.9923,13.3352 13.0214,13.2279 13.0816,13.1377 13.1417,13.0475 13.2295,12.9793 13.3317,12.9434 13.3403,12.9404 13.3487,12.9373 13.3572,12.934 13.8776,12.735 14.3448,12.4179 14.7218,12.0077 15.0989,11.5974 15.3756,11.1053 15.5301,10.5699 15.6846,10.0346 15.7128,9.47068 15.6124,8.92261 15.5119,8.37454 15.2856,7.85727 14.9513,7.41151 14.617,6.96576 14.1838,6.60369 13.6857,6.35381 13.1877,6.10393 12.6385,5.97307 12.0813,5.97153z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="说明书" FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseDown="Border_MouseDown"
|
||
MouseUp="SymbolIconSettings_Click"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M4.66591,7.13141L11.4017,3.15976C11.5957,3.0552 11.8126,3.00041 12.033,3.00041 12.2534,3.00041 12.4704,3.0552 12.6643,3.15977L19.2182,7.02415C19.2676,7.06721 19.3219,7.10586 19.3806,7.13926 19.5699,7.24687 19.727,7.40296 19.8358,7.59146 19.9447,7.77997 20.0014,7.99407 20,8.21175L20,8.21175 20,8.218 20,15.502C20,15.943 19.7585,16.3548 19.3603,16.5737 19.3424,16.5835 19.3247,16.5939 19.3074,16.6049L12.5874,20.8559C12.4062,20.9506 12.2047,21.0001 12,21.0001 11.7953,21.0001 11.5938,20.9506 11.4126,20.8559L4.69261,16.6049C4.6746,16.5935 4.65624,16.5827 4.63755,16.5725 4.44494,16.4672 4.28416,16.3122 4.172,16.1235 4.05999,15.9351 4.00059,15.72 4,15.5008L4,8.217C4,7.77653 4.24107,7.36544 4.63968,7.14635 4.6485,7.1415 4.65724,7.13652 4.66591,7.13141z M20.4159,5.40859C20.4791,5.44583 20.5369,5.4892 20.589,5.53759 20.9895,5.81003 21.3244,6.16988 21.5678,6.59125 21.8538,7.08656 22.003,7.649 22,8.22093L22,15.502C22,16.6678,21.3677,17.7387,20.353,18.31L13.6266,22.5651C13.6092,22.5761 13.5914,22.5866 13.5733,22.5966 13.0911,22.8613 12.55,23.0001 12,23.0001 11.45,23.0001 10.9089,22.8613 10.4267,22.5966 10.4086,22.5866 10.3908,22.5761 10.3734,22.5651L3.64791,18.3106C3.15439,18.0339 2.74214,17.6322 2.45282,17.1455 2.15755,16.6488 2.00116,16.0818 2,15.504L2,15.502 2,8.217C2,7.04497,2.63892,5.97063,3.6619,5.40163L10.4001,1.42859C10.4084,1.4237 10.4167,1.41894 10.4252,1.41429 10.9176,1.1428 11.4707,1.00041 12.033,1.00041 12.5953,1.00041 13.1484,1.1428 13.6408,1.41429 13.6493,1.41894 13.6576,1.4237 13.6659,1.42859L20.4159,5.40859z M12,8C10.9391,8 9.92172,8.42143 9.17157,9.17157 8.42143,9.92172 8,10.9391 8,12 8,13.0609 8.42143,14.0783 9.17157,14.8284 9.92172,15.5786 10.9391,16 12,16 13.0609,16 14.0783,15.5786 14.8284,14.8284 15.5786,14.0783 16,13.0609 16,12 16,10.9391 15.5786,9.92172 14.8284,9.17157 14.0783,8.42143 13.0609,8 12,8z M10.5858,10.5858C10.9609,10.2107 11.4696,10 12,10 12.5304,10 13.0391,10.2107 13.4142,10.5858 13.7893,10.9609 14,11.4696 14,12 14,12.5304 13.7893,13.0391 13.4142,13.4142 13.0391,13.7893 12.5304,14 12,14 11.4696,14 10.9609,13.7893 10.5858,13.4142 10.2107,13.0391 10,12.5304 10,12 10,11.4696 10.2107,10.9609 10.5858,10.5858z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="设置" FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</Grid>
|
||
</Border>
|
||
<Border Width="60" Height="50" MouseDown="Border_MouseDown"
|
||
MouseUp="ImageBlackboard_MouseUp"
|
||
CornerRadius="0,5,5,0" Background="#f4f4f5" Opacity="0.95"
|
||
BorderThickness="0,1,1,1"
|
||
BorderBrush="#a1a1aa">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image VerticalAlignment="Top"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M12,23.4102C18.3017,23.4102 23.4102,18.3017 23.4102,12 23.4102,5.69834 18.3017,0.589813 12,0.589813 5.69834,0.589813 0.589813,5.69834 0.589813,12 0.589813,18.3017 5.69834,23.4102 12,23.4102z M8.25212,6.38964C7.73781,5.87533 6.90395,5.87533 6.38964,6.38964 5.87533,6.90395 5.87533,7.73781 6.38964,8.25212L10.1375,12 6.38964,15.7479C5.87533,16.2622 5.87533,17.0961 6.38964,17.6104 6.90395,18.1247 7.73781,18.1247 8.25212,17.6104L12,13.8625 15.7479,17.6104C16.2622,18.1247 17.0961,18.1247 17.6104,17.6104 18.1247,17.0961 18.1247,16.2622 17.6104,15.7479L13.8625,12 17.6104,8.25212C18.1247,7.73781 18.1247,6.90395 17.6104,6.38964 17.0961,5.87533 16.2622,5.87533 15.7479,6.38964L12,10.1375 8.25212,6.38964z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Text="退出" Foreground="Black" VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center" FontSize="12" />
|
||
</Grid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
|
||
</ui:SimpleStackPanel>
|
||
</Grid>
|
||
</Viewbox>
|
||
<!-- 右下角 -->
|
||
<Viewbox x:Name="ViewboxBlackboardRightSide" Margin="3,0,0,0" Height="55" HorizontalAlignment="Right"
|
||
VerticalAlignment="Bottom">
|
||
<Grid Name="BlackboardRightSide" Visibility="Visible" Margin="0,0,0,3" Height="50"
|
||
HorizontalAlignment="Center" VerticalAlignment="Bottom">
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="5">
|
||
<Border Width="60" Height="50"
|
||
BorderThickness="1" BorderBrush="#a1a1aa"
|
||
MouseUp="BtnWhiteBoardAdd_Click" CornerRadius="5" Background="#f4f4f5"
|
||
Opacity="0.95">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image VerticalAlignment="Top"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M7.39778,13.723L10.7693,13.723 10.7693,10.3514 13.2307,10.3514 13.2307,13.723 16.6022,13.723 16.6022,16.1843 13.2307,16.1843 13.2307,19.5559 10.7693,19.5559 10.7693,16.1843 7.39778,16.1843 7.39778,13.723z M3.1391,1.17001L3.1391,22.83 20.8609,22.83 20.8609,6.66948 15.3614,1.17002 3.1391,1.17001z M12.9846,3.13911L5.10819,3.1391 5.10819,20.8609 18.8918,20.8609 18.8918,9.04638 12.9846,9.04638 12.9846,3.13911z M18.484,7.07729L14.9536,3.54692 14.9536,7.07729 18.484,7.07729z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Text="新页面" Foreground="#18181b" VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center" FontSize="12" />
|
||
</Grid>
|
||
</Border>
|
||
<Border CornerRadius="5,5,5,5" Background="#f4f4f5" Margin="0,0,0,0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal">
|
||
<Border Width="60" Height="50"
|
||
IsEnabled="{Binding ElementName=BtnWhiteBoardSwitchPrevious, Path=IsEnabled}"
|
||
BorderThickness="1,1,0,1" BorderBrush="#a1a1aa"
|
||
MouseUp="BtnWhiteBoardSwitchPrevious_Click" CornerRadius="5,0,0,5"
|
||
Background="#f4f4f5"
|
||
Opacity="0.95">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image VerticalAlignment="Top"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
x:Name="BtnRightWhiteBoardSwitchPreviousGeometry"
|
||
Geometry="F1 M24,24z M0,0z M7.40091,10.456L14.5033,3.35357 12.3198,1.17001 1.48978,12 12.3198,22.83 14.5033,20.6465 7.40089,13.544 22.5102,13.544 22.5102,10.456 7.40091,10.456z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Text="上一页" Foreground="#18181b" VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center" FontSize="12"
|
||
Name="BtnRightWhiteBoardSwitchPreviousLabel" />
|
||
</Grid>
|
||
</Border>
|
||
<Border Width="75" Height="50" MouseUp="BtnWhiteBoardPageIndex_Click"
|
||
Name="BtnRightPageListWB"
|
||
BorderThickness="1,1,1,1" BorderBrush="#a1a1aa" Background="#f4f4f5"
|
||
Opacity="0.95">
|
||
<Grid Margin="6,6,6,4">
|
||
<TextBlock HorizontalAlignment="Center"
|
||
Text="{Binding ElementName=TextBlockWhiteBoardIndexInfo, Path=Text}"
|
||
Margin="0,-1,0,0" FontSize="17" FontWeight="Bold"
|
||
TextAlignment="Center" />
|
||
<TextBlock Text="页面" Foreground="#18181b" VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center" FontSize="12" />
|
||
</Grid>
|
||
</Border>
|
||
<Grid Width="0" Margin="0,0,0,5">
|
||
<Border ClipToBounds="True" Name="BoardBorderRightPageListView"
|
||
Margin="-138,-465,-56,50"
|
||
CornerRadius="8"
|
||
Background="#fafafa" Opacity="1" BorderBrush="#a1a1aa"
|
||
BorderThickness="1">
|
||
<ui:ScrollViewerEx Name="BlackBoardRightSidePageListScrollViewer"
|
||
Height="460"
|
||
VerticalScrollBarVisibility="Hidden"
|
||
ForceUseSmoothScroll="True">
|
||
<ListView ScrollViewer.CanContentScroll="False" SelectionMode="Single"
|
||
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
||
ScrollViewer.VerticalScrollBarVisibility="Disabled"
|
||
Name="BlackBoardRightSidePageListView">
|
||
<ListView.ItemTemplate>
|
||
<DataTemplate>
|
||
<ui:SimpleStackPanel Orientation="Vertical"
|
||
MouseUp="BlackBoardRightSidePageListView_OnMouseUp">
|
||
<Border Margin="0,4" Width="160" BorderBrush="#a1a1aa"
|
||
BorderThickness="1">
|
||
<Grid>
|
||
<Viewbox Width="160">
|
||
<InkCanvas EditingMode="None"
|
||
Background="{Binding ElementName=GridBackgroundCover, Path=Background}"
|
||
Strokes="{Binding Strokes}"
|
||
Width="{Binding ElementName=inkCanvas, Path=ActualWidth}"
|
||
Height="{Binding ElementName=inkCanvas, Path=ActualHeight}">
|
||
</InkCanvas>
|
||
</Viewbox>
|
||
<Border Margin="4" Width="36" Height="20"
|
||
CornerRadius="3" HorizontalAlignment="Left"
|
||
VerticalAlignment="Top"
|
||
Background="#cc09090b">
|
||
<TextBlock FontSize="14"
|
||
HorizontalAlignment="Center"
|
||
VerticalAlignment="Center"
|
||
FontFamily="Consolas"
|
||
Foreground="White"
|
||
Text="{Binding Index}">
|
||
</TextBlock>
|
||
</Border>
|
||
</Grid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</DataTemplate>
|
||
</ListView.ItemTemplate>
|
||
</ListView>
|
||
</ui:ScrollViewerEx>
|
||
</Border>
|
||
</Grid>
|
||
<Border Width="60" Height="50" MouseUp="BtnWhiteBoardSwitchNext_Click"
|
||
IsEnabled="{Binding ElementName=BtnWhiteBoardSwitchNext, Path=IsEnabled}"
|
||
CornerRadius="0,5,5,0"
|
||
BorderThickness="0,1,1,1" BorderBrush="#a1a1aa"
|
||
Background="#f4f4f5" Opacity="0.95">
|
||
<Grid Margin="6,6,6,4">
|
||
<Image VerticalAlignment="Top"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
x:Name="BtnRightWhiteBoardSwitchNextGeometry"
|
||
Geometry="F1 M24,24z M0,0z M16.5991,10.456L9.49667,3.35357 11.6802,1.17001 22.5102,12 11.6802,22.83 9.49667,20.6465 16.5991,13.544 1.48978,13.544 1.48978,10.456 16.5991,10.456z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock Text="下一页" Foreground="Black" VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center" FontSize="12"
|
||
Name="BtnRightWhiteBoardSwitchNextLabel" />
|
||
</Grid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Grid>
|
||
</Viewbox>
|
||
|
||
<ui:SimpleStackPanel Spacing="10" Orientation="Horizontal"
|
||
VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Right"
|
||
Height="50" Margin="10"
|
||
Visibility="Collapsed">
|
||
<Button Name="BtnWhiteBoardAdd" FontFamily="Microsoft YaHei UI"
|
||
Width="50" Height="48" FontSize="26" Click="BtnWhiteBoardAdd_Click"
|
||
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}">
|
||
<ui:SymbolIcon Symbol="Add" />
|
||
</Button>
|
||
<Button Name="BtnWhiteBoardSwitchPrevious" FontFamily="Symbol"
|
||
Width="50" Height="48" FontSize="25" Click="BtnWhiteBoardSwitchPrevious_Click"
|
||
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}"
|
||
VerticalContentAlignment="Center"
|
||
IsEnabled="False" IsEnabledChanged="Btn_IsEnabledChanged">
|
||
<Image RenderTransformOrigin="0.5,0.5" Opacity="0.25">
|
||
<Image.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform />
|
||
<SkewTransform />
|
||
<RotateTransform Angle="-90" />
|
||
<TranslateTransform />
|
||
</TransformGroup>
|
||
</Image.RenderTransform>
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V64 H64 V0 H0 Z">
|
||
<DrawingGroup Opacity="1">
|
||
<GeometryDrawing Brush="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Geometry="F1 M64,64z M0,0z M32,26.41L16.566,41.844 14.439,39.717 32,22.156 49.561,39.717 47.434,41.844 32,26.41z" />
|
||
</DrawingGroup>
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
<Border Height="48" CornerRadius="2" Margin="3,0">
|
||
<TextBlock Name="TextBlockWhiteBoardIndexInfo"
|
||
Text="1/1"
|
||
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
FontFamily="Microsoft YaHei UI"
|
||
FontSize="18" />
|
||
</Border>
|
||
<Button Name="BtnWhiteBoardSwitchNext" FontFamily="Symbol"
|
||
Width="50" Height="48" FontSize="25" Click="BtnWhiteBoardSwitchNext_Click"
|
||
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}"
|
||
VerticalContentAlignment="Center"
|
||
IsEnabled="True" IsEnabledChanged="Btn_IsEnabledChanged">
|
||
<Image RenderTransformOrigin="0.5,0.5" Opacity="0.25">
|
||
<Image.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform />
|
||
<SkewTransform />
|
||
<RotateTransform Angle="90" />
|
||
<TranslateTransform />
|
||
</TransformGroup>
|
||
</Image.RenderTransform>
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V64 H64 V0 H0 Z">
|
||
<DrawingGroup Opacity="1">
|
||
<GeometryDrawing Brush="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Geometry="F1 M64,64z M0,0z M32,26.41L16.566,41.844 14.439,39.717 32,22.156 49.561,39.717 47.434,41.844 32,26.41z" />
|
||
</DrawingGroup>
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Button>
|
||
<Button Name="BtnWhiteBoardDelete" Click="BtnWhiteBoardDelete_Click"
|
||
FontFamily="Microsoft YaHei UI" Width="50" Height="48" FontSize="26"
|
||
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}"
|
||
IsEnabled="False">
|
||
<ui:SymbolIcon Symbol="Delete" />
|
||
</Button>
|
||
</ui:SimpleStackPanel>
|
||
</Grid>
|
||
</Grid>
|
||
|
||
|
||
<!-- 通知弹窗 -->
|
||
<Grid Name="GridNotifications" Margin="0,110" Visibility="Collapsed" HorizontalAlignment="Center"
|
||
VerticalAlignment="Bottom">
|
||
<Border CornerRadius="6" MaxHeight="200" Padding="20 10" Background="White" Opacity="0.95"
|
||
BorderBrush="#b91c1c" BorderThickness="1.5">
|
||
<TextBlock Name="TextBlockNotice" Text="测试文本" VerticalAlignment="Center" HorizontalAlignment="Center"
|
||
FontSize="16" />
|
||
</Border>
|
||
</Grid>
|
||
<!--// Old UI //-->
|
||
<Viewbox Name="ViewBoxStackPanelMain" Visibility="Collapsed" Margin="10,10,10,55" HorizontalAlignment="Right"
|
||
VerticalAlignment="Bottom" Width="46">
|
||
<StackPanel Name="StackPanelMain" Width="46">
|
||
<StackPanel Name="StackPanelControl">
|
||
<Button Name="BtnExit" Content="退出" FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Click="BtnExit_Click" Background="#7F909090" />
|
||
|
||
<Button Name="BtnThickness" Content="粗细" Visibility="Collapsed" FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Click="BtnThickness_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
||
|
||
<Button Name="BtnSwitchTheme" Content="深色" FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
||
<!-- Click="BtnSwitchTheme_Click" -->
|
||
|
||
<Button Name="BtnSwitch" Content="背景" FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Click="BtnSwitch_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
||
<Button x:Name="BtnHideInkCanvas" Content="隐藏
画板" FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Click="BtnHideInkCanvas_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
||
<Button x:Name="BtnCheckPPT" Visibility="Collapsed" Content="检查" FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Click="BtnCheckPPT_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
||
<StackPanel Name="StackPanelPPTButtons">
|
||
<Button x:Name="BtnPPTSlideShow" Visibility="Collapsed" Content="从头
放映"
|
||
FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Click="BtnPPTSlideShow_Click"
|
||
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
||
<Button x:Name="BtnPPTSlideShowEnd" Visibility="Collapsed" Content="结束
放映"
|
||
FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Click="BtnPPTSlideShowEnd_Click"
|
||
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
||
<StackPanel Name="StackPanelPPTControls" Visibility="Collapsed">
|
||
<Button x:Name="BtnPPTSlidesUp" Content="↑" FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Click="BtnPPTSlidesUp_Click"
|
||
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
||
<Button x:Name="BtnPPTSlidesDown" Content="↓" FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Click="BtnPPTSlidesDown_Click"
|
||
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
||
</StackPanel>
|
||
</StackPanel>
|
||
<Button x:Name="BtnSwitchSide" Content="⇆" FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Click="BtnSwitchSide_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
||
</StackPanel>
|
||
<Button x:Name="BtnHideControl" Content="⇅" FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Click="BtnHideControl_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
||
</StackPanel>
|
||
</Viewbox>
|
||
<Viewbox Name="ViewBoxStackPanelShapes" Margin="{Binding ElementName=ViewBoxStackPanelMain, Path=Margin}"
|
||
Width="46" HorizontalAlignment="Left" VerticalAlignment="Bottom" Visibility="Collapsed">
|
||
<StackPanel Name="StackPanelShapes" Width="46">
|
||
<Button Name="BtnFingerDragMode" Content="单指
拖动" Visibility="Visible"
|
||
FontFamily="Microsoft YaHei UI"
|
||
Margin="0,25,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Click="BtnFingerDragMode_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
||
<StackPanel IsVisibleChanged="StackPanel_IsVisibleChanged"
|
||
Visibility="{Binding ElementName=StackPanelPPTButtons, Path=Visibility}">
|
||
<StackPanel Visibility="{Binding ElementName=StackPanelPPTControls, Path=Visibility}">
|
||
<Button Content="↑" FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Click="BtnPPTSlidesUp_Click"
|
||
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
||
<Button Content="↓" FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,15" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Click="BtnPPTSlidesDown_Click"
|
||
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
||
</StackPanel>
|
||
</StackPanel>
|
||
<Button x:Name="BtnUndo" FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Click="BtnUndo_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}"
|
||
IsEnabled="False" Visibility="Collapsed" IsEnabledChanged="Btn_IsEnabledChanged">
|
||
<StackPanel Opacity="0.2">
|
||
<ui:SymbolIcon Symbol="Undo" />
|
||
<TextBlock Text="撤销" Margin="0,4,0,0" />
|
||
</StackPanel>
|
||
</Button>
|
||
<Button x:Name="BtnRedo" FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Click="BtnRedo_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}"
|
||
IsEnabled="False" Visibility="Collapsed" IsEnabledChanged="Btn_IsEnabledChanged">
|
||
<StackPanel Opacity="0.2">
|
||
<ui:SymbolIcon Symbol="Redo" />
|
||
<TextBlock Text="恢复" Margin="0,4,0,0" />
|
||
</StackPanel>
|
||
</Button>
|
||
<Button Name="BtnClearAndHideCanvas" Content="清屏
&
隐藏" Visibility="Collapsed"
|
||
FontFamily="Microsoft YaHei UI"
|
||
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
||
Block.TextAlignment="Center"
|
||
Click="BtnSelect_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
||
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
||
<Grid Name="GridForLeftSideReservedSpace"
|
||
Height="{Binding ElementName=StackPanelInfo, Path=ActualHeight}" />
|
||
</StackPanel>
|
||
</Viewbox>
|
||
|
||
<!--// PPT 工具栏 //-->
|
||
<Grid>
|
||
<Grid Visibility="Visible">
|
||
<Viewbox x:Name="LeftBottomPanelForPPTNavigation" Visibility="Collapsed" Margin="6,0,0,6" Height="50"
|
||
HorizontalAlignment="Left" VerticalAlignment="Bottom">
|
||
<Border BorderThickness="1" BorderBrush="#a1a1aa" Name="PPTBtnLBBorder"
|
||
Background="#f4f4f5" Opacity="1" CornerRadius="6">
|
||
<ui:SimpleStackPanel Orientation="Horizontal">
|
||
<Border Width="50" Height="50" MouseUp="GridPPTControlPrevious_MouseUp"
|
||
Name="PPTLBPreviousButtonBorder"
|
||
MouseDown="GridPPTControlPrevious_MouseDown"
|
||
MouseLeave="GridPPTControlPrevious_MouseLeave"
|
||
CornerRadius="5 5 0 0" Background="Transparent">
|
||
<Grid>
|
||
<Border Margin="3" CornerRadius="5" Name="PPTLBPreviousButtonFeedbackBorder"
|
||
Background="#18181b" Opacity="0" />
|
||
<Image Height="28" Width="28">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#27272a"
|
||
x:Name="PPTLBPreviousButtonGeometry"
|
||
Geometry="F0 M24,24z M0,0z M3.3994,12.9642C2.86687,12.4317,2.86687,11.5683,3.3994,11.0358L9.94485,4.49031C10.4774,3.95777 11.3408,3.95777 11.8733,4.49031 12.4059,5.02284 12.4059,5.88625 11.8733,6.41878L7.65575,10.6364 19.6364,10.6364C20.3895,10.6364 21,11.2469 21,12 21,12.7531 20.3895,13.3636 19.6364,13.3636L7.65575,13.3636 11.8733,17.5812C12.4059,18.1137 12.4059,18.9772 11.8733,19.5097 11.3408,20.0422 10.4774,20.0422 9.94485,19.5097L3.3994,12.9642z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Grid>
|
||
</Border>
|
||
<Border Visibility="Visible" Name="PPTLBPageButton" TextBlock.Foreground="#171717"
|
||
MouseUp="PPTNavigationBtn_MouseUp" MouseDown="PPTNavigationBtn_MouseDown"
|
||
MouseLeave="PPTNavigationBtn_MouseLeave" Width="auto" MinWidth="50" Height="50"
|
||
Background="Transparent">
|
||
<Grid>
|
||
<Border Margin="0,3" CornerRadius="5" Name="PPTLBPageButtonFeedbackBorder"
|
||
Background="#18181b" Opacity="0" />
|
||
<ui:SimpleStackPanel VerticalAlignment="Center" Orientation="Vertical"
|
||
Spacing="0.5" Margin="12,0">
|
||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||
FontSize="17" FontWeight="Bold"
|
||
Text="{Binding ElementName=PPTBtnPageNow, Path=Text}" />
|
||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||
FontSize="10"
|
||
Text="{Binding ElementName=PPTBtnPageTotal, Path=Text}" />
|
||
</ui:SimpleStackPanel>
|
||
|
||
</Grid>
|
||
</Border>
|
||
<Border Width="50" Height="50" MouseUp="GridPPTControlNext_MouseUp"
|
||
MouseDown="GridPPTControlNext_MouseDown" MouseLeave="GridPPTControlNext_MouseLeave"
|
||
CornerRadius="0 0 5 5" Background="Transparent" Name="PPTLBNextButtonBorder">
|
||
<Grid>
|
||
<Border Margin="3" CornerRadius="5" Name="PPTLBNextButtonFeedbackBorder"
|
||
Background="#18181b" Opacity="0" />
|
||
<Image VerticalAlignment="Center" HorizontalAlignment="Center" Height="28"
|
||
Width="28">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#27272a"
|
||
x:Name="PPTLBNextButtonGeometry"
|
||
Geometry="F0 M24,24z M0,0z M20.6006,12.9642C21.1331,12.4317,21.1331,11.5683,20.6006,11.0358L14.0551,4.49031C13.5226,3.95777 12.6592,3.95777 12.1267,4.49031 11.5941,5.02284 11.5941,5.88625 12.1267,6.41878L16.3443,10.6364 4.36364,10.6364C3.61052,10.6364 3,11.2469 3,12 3,12.7531 3.61052,13.3636 4.36364,13.3636L16.3443,13.3636 12.1267,17.5812C11.5941,18.1137 11.5941,18.9772 12.1267,19.5097 12.6592,20.0422 13.5226,20.0422 14.0551,19.5097L20.6006,12.9642z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Grid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</Viewbox>
|
||
<Viewbox x:Name="RightBottomPanelForPPTNavigation" Visibility="Collapsed" Margin="0,0,6,6" Height="50"
|
||
HorizontalAlignment="Right" VerticalAlignment="Bottom">
|
||
<Border BorderThickness="1" BorderBrush="#a1a1aa" Name="PPTBtnRBBorder"
|
||
Background="#f4f4f5" Opacity="1" CornerRadius="6">
|
||
<ui:SimpleStackPanel Orientation="Horizontal">
|
||
<Border Width="50" Height="50" MouseUp="GridPPTControlPrevious_MouseUp"
|
||
Name="PPTRBPreviousButtonBorder"
|
||
MouseDown="GridPPTControlPrevious_MouseDown"
|
||
MouseLeave="GridPPTControlPrevious_MouseLeave"
|
||
CornerRadius="5 5 0 0" Background="Transparent">
|
||
<Grid>
|
||
<Border Margin="3" CornerRadius="5" Name="PPTRBPreviousButtonFeedbackBorder"
|
||
Background="#18181b" Opacity="0" />
|
||
<Image Height="28" Width="28">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#27272a"
|
||
x:Name="PPTRBPreviousButtonGeometry"
|
||
Geometry="F0 M24,24z M0,0z M3.3994,12.9642C2.86687,12.4317,2.86687,11.5683,3.3994,11.0358L9.94485,4.49031C10.4774,3.95777 11.3408,3.95777 11.8733,4.49031 12.4059,5.02284 12.4059,5.88625 11.8733,6.41878L7.65575,10.6364 19.6364,10.6364C20.3895,10.6364 21,11.2469 21,12 21,12.7531 20.3895,13.3636 19.6364,13.3636L7.65575,13.3636 11.8733,17.5812C12.4059,18.1137 12.4059,18.9772 11.8733,19.5097 11.3408,20.0422 10.4774,20.0422 9.94485,19.5097L3.3994,12.9642z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Grid>
|
||
</Border>
|
||
<Border Visibility="Visible" Name="PPTRBPageButton" TextBlock.Foreground="#171717"
|
||
MouseUp="PPTNavigationBtn_MouseUp" MouseDown="PPTNavigationBtn_MouseDown"
|
||
MouseLeave="PPTNavigationBtn_MouseLeave" Width="auto" MinWidth="50" Height="50"
|
||
Background="Transparent">
|
||
<Grid>
|
||
<Border Margin="0,3" CornerRadius="5" Name="PPTRBPageButtonFeedbackBorder"
|
||
Background="#18181b" Opacity="0" />
|
||
<ui:SimpleStackPanel VerticalAlignment="Center" Orientation="Vertical"
|
||
Spacing="0.5" Margin="12,0">
|
||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||
FontSize="17" FontWeight="Bold"
|
||
Text="{Binding ElementName=PPTBtnPageNow, Path=Text}" />
|
||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||
FontSize="10"
|
||
Text="{Binding ElementName=PPTBtnPageTotal, Path=Text}" />
|
||
</ui:SimpleStackPanel>
|
||
|
||
</Grid>
|
||
</Border>
|
||
<Border Width="50" Height="50" MouseUp="GridPPTControlNext_MouseUp"
|
||
MouseDown="GridPPTControlNext_MouseDown" MouseLeave="GridPPTControlNext_MouseLeave"
|
||
CornerRadius="0 0 5 5" Background="Transparent" Name="PPTRBNextButtonBorder">
|
||
<Grid>
|
||
<Border Margin="3" CornerRadius="5" Name="PPTRBNextButtonFeedbackBorder"
|
||
Background="#18181b" Opacity="0" />
|
||
<Image VerticalAlignment="Center" HorizontalAlignment="Center" Height="28"
|
||
Width="28">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#27272a"
|
||
x:Name="PPTRBNextButtonGeometry"
|
||
Geometry="F0 M24,24z M0,0z M20.6006,12.9642C21.1331,12.4317,21.1331,11.5683,20.6006,11.0358L14.0551,4.49031C13.5226,3.95777 12.6592,3.95777 12.1267,4.49031 11.5941,5.02284 11.5941,5.88625 12.1267,6.41878L16.3443,10.6364 4.36364,10.6364C3.61052,10.6364 3,11.2469 3,12 3,12.7531 3.61052,13.3636 4.36364,13.3636L16.3443,13.3636 12.1267,17.5812C11.5941,18.1137 11.5941,18.9772 12.1267,19.5097 12.6592,20.0422 13.5226,20.0422 14.0551,19.5097L20.6006,12.9642z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Grid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</Viewbox>
|
||
</Grid>
|
||
</Grid>
|
||
|
||
<!--// PPT 侧边翻页按钮 //-->
|
||
<Viewbox x:Name="LeftSidePanelForPPTNavigation" Visibility="Visible" Width="56"
|
||
HorizontalAlignment="Left" VerticalAlignment="Center">
|
||
<Border BorderThickness="1" BorderBrush="#a1a1aa" Name="PPTBtnLSBorder"
|
||
Background="#f4f4f5" Opacity="1" CornerRadius="6" Margin="6,0,0,0">
|
||
<ui:SimpleStackPanel Orientation="Vertical">
|
||
<Border Width="50" Height="50" MouseUp="GridPPTControlPrevious_MouseUp"
|
||
Name="PPTLSPreviousButtonBorder"
|
||
MouseDown="GridPPTControlPrevious_MouseDown" MouseLeave="GridPPTControlPrevious_MouseLeave"
|
||
CornerRadius="5 5 0 0" Background="Transparent">
|
||
<Grid>
|
||
<Border Margin="3" CornerRadius="5" Name="PPTLSPreviousButtonFeedbackBorder"
|
||
Background="#18181b" Opacity="0" />
|
||
<Image Height="28" Width="28">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#27272a" x:Name="PPTLSPreviousButtonGeometry"
|
||
Geometry="F0 M24,24z M0,0z M11.0357,3.3994C11.5682,2.86687,12.4316,2.86687,12.9641,3.3994L19.5096,9.94485C20.0421,10.4774 20.0421,11.3408 19.5096,11.8733 18.9771,12.4059 18.1137,12.4059 17.5811,11.8733L13.3635,7.65575 13.3635,19.6364C13.3635,20.3895 12.753,21 11.9999,21 11.2468,21 10.6363,20.3895 10.6363,19.6364L10.6363,7.65575 6.41869,11.8733C5.88616,12.4059 5.02275,12.4059 4.49022,11.8733 3.95769,11.3408 3.95769,10.4774 4.49022,9.94485L11.0357,3.3994z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Grid>
|
||
</Border>
|
||
<Border Visibility="Visible" Name="PPTLSPageButton" TextBlock.Foreground="#171717"
|
||
MouseUp="PPTNavigationBtn_MouseUp" MouseDown="PPTNavigationBtn_MouseDown"
|
||
MouseLeave="PPTNavigationBtn_MouseLeave" Width="50" Height="50"
|
||
Background="Transparent">
|
||
<Grid>
|
||
<Border Margin="3,0" CornerRadius="5" Name="PPTLSPageButtonFeedbackBorder"
|
||
Background="#18181b" Opacity="0" />
|
||
<ui:SimpleStackPanel VerticalAlignment="Center" Orientation="Vertical" Spacing="0.5">
|
||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||
FontSize="17" FontWeight="Bold"
|
||
Text="999" Name="PPTBtnPageNow" />
|
||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||
FontSize="10" Text="/ 999" Name="PPTBtnPageTotal" />
|
||
</ui:SimpleStackPanel>
|
||
|
||
</Grid>
|
||
</Border>
|
||
<Border Width="50" Height="50" MouseUp="GridPPTControlNext_MouseUp"
|
||
MouseDown="GridPPTControlNext_MouseDown" MouseLeave="GridPPTControlNext_MouseLeave"
|
||
CornerRadius="0 0 5 5" Background="Transparent" Name="PPTLSNextButtonBorder">
|
||
<Grid>
|
||
<Border Margin="3" CornerRadius="5" Name="PPTLSNextButtonFeedbackBorder"
|
||
Background="#18181b" Opacity="0" />
|
||
<Image VerticalAlignment="Center" HorizontalAlignment="Center" Height="28" Width="28">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#27272a" x:Name="PPTLSNextButtonGeometry"
|
||
Geometry="F0 M24,24z M0,0z M11.0357,20.6006C11.5682,21.1331,12.4316,21.1331,12.9641,20.6006L19.5096,14.0551C20.0421,13.5226 20.0421,12.6592 19.5096,12.1267 18.9771,11.5941 18.1137,11.5941 17.5811,12.1267L13.3635,16.3443 13.3635,4.36364C13.3635,3.61052 12.753,3 11.9999,3 11.2468,3 10.6363,3.61052 10.6363,4.36364L10.6363,16.3443 6.41869,12.1267C5.88616,11.5941 5.02275,11.5941 4.49022,12.1267 3.95769,12.6592 3.95769,13.5226 4.49022,14.0551L11.0357,20.6006z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Grid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</Viewbox>
|
||
<Viewbox x:Name="RightSidePanelForPPTNavigation" Visibility="Visible" Width="56"
|
||
HorizontalAlignment="Right" VerticalAlignment="Center">
|
||
<Border BorderThickness="1" BorderBrush="#a1a1aa" Name="PPTBtnRSBorder"
|
||
Background="#f4f4f5" Opacity="1" CornerRadius="6" Margin="0,0,6,0">
|
||
<ui:SimpleStackPanel Orientation="Vertical">
|
||
<Border Width="50" Height="50" MouseUp="GridPPTControlPrevious_MouseUp"
|
||
Name="PPTRSPreviousButtonBorder"
|
||
MouseDown="GridPPTControlPrevious_MouseDown" MouseLeave="GridPPTControlPrevious_MouseLeave"
|
||
CornerRadius="5 5 0 0" Background="Transparent">
|
||
<Grid>
|
||
<Border Margin="3" CornerRadius="5" Name="PPTRSPreviousButtonFeedbackBorder"
|
||
Background="#18181b" Opacity="0" />
|
||
<Image Height="28" Width="28">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#27272a" x:Name="PPTRSPreviousButtonGeometry"
|
||
Geometry="F0 M24,24z M0,0z M11.0357,3.3994C11.5682,2.86687,12.4316,2.86687,12.9641,3.3994L19.5096,9.94485C20.0421,10.4774 20.0421,11.3408 19.5096,11.8733 18.9771,12.4059 18.1137,12.4059 17.5811,11.8733L13.3635,7.65575 13.3635,19.6364C13.3635,20.3895 12.753,21 11.9999,21 11.2468,21 10.6363,20.3895 10.6363,19.6364L10.6363,7.65575 6.41869,11.8733C5.88616,12.4059 5.02275,12.4059 4.49022,11.8733 3.95769,11.3408 3.95769,10.4774 4.49022,9.94485L11.0357,3.3994z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Grid>
|
||
</Border>
|
||
<Border Visibility="Visible" Name="PPTRSPageButton"
|
||
MouseUp="PPTNavigationBtn_MouseUp" MouseDown="PPTNavigationBtn_MouseDown"
|
||
MouseLeave="PPTNavigationBtn_MouseLeave" Width="50" Height="50"
|
||
Background="Transparent" TextBlock.Foreground="#171717">
|
||
<Grid>
|
||
<Border Margin="3,0" CornerRadius="5" Name="PPTRSPageButtonFeedbackBorder"
|
||
Background="#18181b" Opacity="0" />
|
||
<ui:SimpleStackPanel VerticalAlignment="Center" Orientation="Vertical" Spacing="0.5">
|
||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||
FontSize="17" FontWeight="Bold"
|
||
Text="{Binding ElementName=PPTBtnPageNow, Path=Text}" />
|
||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
||
FontSize="10"
|
||
Text="{Binding ElementName=PPTBtnPageTotal, Path=Text}" />
|
||
</ui:SimpleStackPanel>
|
||
</Grid>
|
||
</Border>
|
||
<Border Width="50" Height="50" MouseUp="GridPPTControlNext_MouseUp"
|
||
MouseDown="GridPPTControlNext_MouseDown" MouseLeave="GridPPTControlNext_MouseLeave"
|
||
CornerRadius="0 0 5 5" Background="Transparent" Name="PPTRSNextButtonBorder">
|
||
<Grid>
|
||
<Border Margin="3" CornerRadius="5" Name="PPTRSNextButtonFeedbackBorder"
|
||
Background="#18181b" Opacity="0" />
|
||
<Image VerticalAlignment="Center" HorizontalAlignment="Center" Height="28" Width="28">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#27272a" x:Name="PPTRSNextButtonGeometry"
|
||
Geometry="F0 M24,24z M0,0z M11.0357,20.6006C11.5682,21.1331,12.4316,21.1331,12.9641,20.6006L19.5096,14.0551C20.0421,13.5226 20.0421,12.6592 19.5096,12.1267 18.9771,11.5941 18.1137,11.5941 17.5811,12.1267L13.3635,16.3443 13.3635,4.36364C13.3635,3.61052 12.753,3 11.9999,3 11.2468,3 10.6363,3.61052 10.6363,4.36364L10.6363,16.3443 6.41869,12.1267C5.88616,11.5941 5.02275,11.5941 4.49022,12.1267 3.95769,12.6592 3.95769,13.5226 4.49022,14.0551L11.0357,20.6006z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Grid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</Viewbox>
|
||
|
||
<Grid Name="FloatingbarUIForInkReplay">
|
||
<Viewbox Name="ViewboxFloatingBar" Margin="100,5,0,0"
|
||
HorizontalAlignment="Left" Height="58" VerticalAlignment="Top" Width="733"
|
||
RenderTransformOrigin="0.5,0.5">
|
||
<Viewbox.LayoutTransform>
|
||
<ScaleTransform x:Name="ViewboxFloatingBarScaleTransform" ScaleX="1" ScaleY="1" />
|
||
</Viewbox.LayoutTransform>
|
||
<ui:SimpleStackPanel Orientation="Horizontal">
|
||
<Border x:Name="BorderFloatingBarMoveControls" Width="36" Height="36" CornerRadius="5"
|
||
Background="#fafafa" BorderThickness="1" BorderBrush="#9952525b"
|
||
MouseDown="SymbolIconEmoji_MouseDown" MouseUp="SymbolIconEmoji_MouseUp">
|
||
<ui:SimpleStackPanel Margin="0,2,0,2" Orientation="Horizontal"
|
||
HorizontalAlignment="Center">
|
||
<Image Margin="0" Name="FloatingbarHeadIconImg" Source="/Resources/Icons-png/icc.png" />
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<Border Margin="2,0,0,0" Padding="2" Visibility="Visible" Height="36"
|
||
Name="BorderFloatingBarMainControls" Background="#fafafa" CornerRadius="5"
|
||
BorderThickness="1"
|
||
BorderBrush="#9952525b">
|
||
<Grid>
|
||
<Canvas Name="FloatingbarSelectionBGCanvas" Margin="2,0,2,0">
|
||
<Border Name="FloatingbarSelectionBG" Visibility="Hidden" Width="28" Height="34"
|
||
Canvas.Left="28" Margin="0,-2,0,-2" Background="#153b82f6">
|
||
<Canvas>
|
||
<Border Canvas.Bottom="0" Canvas.Left="8" Width="12" Height="2"
|
||
CornerRadius="1,1,0,0" Background="#2563eb" />
|
||
</Canvas>
|
||
</Border>
|
||
</Canvas>
|
||
<ui:SimpleStackPanel Margin="2,0" Name="StackPanelFloatingBar" Orientation="Horizontal">
|
||
<!--<ui:SimpleStackPanel Name="Cursor_Icon" MouseDown="Border_MouseDown" MouseUp="CursorIcon_Click"-->
|
||
<ui:SimpleStackPanel Name="Cursor_Icon"
|
||
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
|
||
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
|
||
MouseUp="CursorIcon_Click"
|
||
Background="Transparent" Orientation="Vertical"
|
||
HorizontalAlignment="Center" Width="28" Margin="0,-2">
|
||
<Image RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0"
|
||
x:Name="CursorToolbarIconImage">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing x:Name="CursorIconGeometry" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock x:Name="SelectionToolBarTextBlock" Text="鼠标" Foreground="Black"
|
||
FontSize="8"
|
||
Margin="0,1,0,0" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Name="Pen_Icon"
|
||
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
|
||
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
|
||
MouseUp="PenIcon_Click"
|
||
Background="Transparent" Orientation="Vertical"
|
||
HorizontalAlignment="Center" Width="28" Margin="0,-2">
|
||
<Image x:Name="PenIcon"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing x:Name="PenIconGeometry" Brush="Black"
|
||
Geometry="" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock x:Name="PenToolbarTextBlock" Text="批注" Foreground="Black" FontSize="8"
|
||
Margin="0,1,0,0" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Name="SymbolIconDelete"
|
||
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
|
||
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
|
||
MouseUp="SymbolIconDelete_MouseUp"
|
||
Background="Transparent" Orientation="Vertical"
|
||
HorizontalAlignment="Center" Width="28" Margin="0,-2">
|
||
<Image RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing x:Name="ClearIconGeometry" Brush="#b91c1c"
|
||
Geometry="F1 M24,24z M0,0z M8.53333,2.37333L7.92,4.21333 2.56,4.21333C2.4,4.21333 2.26667,4.27556 2.16,4.4 2.05333,4.50667 2,4.63111 2,4.77333L2,5.89333C2,6.03556 2.05333,6.16889 2.16,6.29333 2.26667,6.4 2.4,6.45333 2.56,6.45333L21.44,6.45333C21.6,6.45333 21.7333,6.4 21.84,6.29333 21.9467,6.16889 22,6.03556 22,5.89333L22,4.77333C22,4.63111 21.9467,4.50667 21.84,4.4 21.7333,4.27556 21.6,4.21333 21.44,4.21333L16.08,4.21333 15.4667,2.37333C15.4311,2.26667 15.36,2.17778 15.2533,2.10667 15.1644,2.03556 15.0578,2 14.9333,2L9.06667,2C8.94222,2 8.82667,2.03556 8.72,2.10667 8.63111,2.17778 8.56889,2.26667 8.53333,2.37333z M19.7867,8.10667L18.7467,20.9867C18.7111,21.2711 18.5867,21.5111 18.3733,21.7067 18.1778,21.9022 17.9378,22 17.6533,22L6.37333,22C6.08889,22 5.84,21.9022 5.62667,21.7067 5.41333,21.5111 5.28889,21.2711 5.25333,20.9867L4.21333,8.10667 19.7867,8.10667z M8.66667,12.56L8.66667,16.9867C8.66667,17.1467 8.72,17.28 8.82667,17.3867 8.93333,17.4933 9.06667,17.5467 9.22667,17.5467L9.78667,17.5467C9.92889,17.5467 10.0533,17.4933 10.16,17.3867 10.2844,17.28 10.3467,17.1467 10.3467,16.9867L10.3467,12.56C10.3467,12.4 10.2844,12.2667 10.16,12.16 10.0533,12.0533 9.92889,12 9.78667,12L9.22667,12C9.06667,12 8.93333,12.0533 8.82667,12.16 8.72,12.2667 8.66667,12.4 8.66667,12.56z M14.2133,12C14.0711,12 13.9467,12.0533 13.84,12.16 13.7333,12.2667 13.68,12.4 13.68,12.56L13.68,16.9867C13.68,17.1467 13.7333,17.28 13.84,17.3867 13.9467,17.4933 14.0711,17.5467 14.2133,17.5467L14.7733,17.5467C14.9333,17.5467 15.0667,17.4933 15.1733,17.3867 15.28,17.28 15.3333,17.1467 15.3333,16.9867L15.3333,12.56C15.3333,12.4 15.28,12.2667 15.1733,12.16 15.0667,12.0533 14.9333,12 14.7733,12L14.2133,12z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock x:Name="TrashBinToolbarTextBlock" Text="清空" Foreground="#B91C1C"
|
||
FontWeight="Bold" FontSize="8" Margin="0,1,0,0" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Name="StackPanelCanvasControls" Visibility="Visible"
|
||
Orientation="{Binding ElementName=StackPanelFloatingBar, Path=Orientation}">
|
||
<ui:SimpleStackPanel Width="0"
|
||
Orientation="{Binding ElementName=StackPanelFloatingBar, Path=Orientation}">
|
||
<Grid Margin="0,5,0,5" Width="0" RenderTransformOrigin="0.5,0.5">
|
||
<Border x:Name="PenPalette" Visibility="Visible" Background="#fafafa"
|
||
Opacity="1" BorderBrush="#2563eb"
|
||
BorderThickness="1" CornerRadius="8" Margin="-160,-200,-33,32">
|
||
<ui:SimpleStackPanel>
|
||
<Border BorderBrush="#1e3a8a" Height="32" BorderThickness="0,0,0,1"
|
||
CornerRadius="8,8,0,0" Background="#2563eb"
|
||
Margin="-1,-1,-1,0"
|
||
Padding="1,1,1,0">
|
||
<ui:SimpleStackPanel Orientation="Vertical"
|
||
VerticalAlignment="Center">
|
||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||
HorizontalAlignment="Stretch"
|
||
Margin="8,0,0,0" Spacing="2">
|
||
<Border x:Name="DefaultPenTabButton"
|
||
MouseDown="SwitchToDefaultPen"
|
||
Background="#48dbeafe" Height="20" Width="36"
|
||
CornerRadius="3">
|
||
<Canvas>
|
||
<ui:SimpleStackPanel
|
||
x:Name="DefaultPenTabButtonIndicator"
|
||
Visibility="Visible"
|
||
Orientation="Horizontal"
|
||
Canvas.Left="9" Canvas.Right="9"
|
||
Canvas.Bottom="0">
|
||
<Border Width="18" Height="2"
|
||
Background="#fafafa" CornerRadius="1" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Vertical"
|
||
Height="20" Width="36">
|
||
<ui:SimpleStackPanel
|
||
VerticalAlignment="Center"
|
||
Orientation="Horizontal"
|
||
HorizontalAlignment="Center"
|
||
Margin="0,3">
|
||
<Image
|
||
Source="/Resources/new-icons/pen-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="13" Width="13" />
|
||
<TextBlock
|
||
x:Name="DefaultPenTabButtonText"
|
||
Foreground="White"
|
||
FontWeight="Medium"
|
||
FontSize="9" TextAlignment="Center"
|
||
Text="笔" Margin="2,1,0,0" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Canvas>
|
||
</Border>
|
||
<Border x:Name="HighlightPenTabButton"
|
||
MouseDown="SwitchToHighlighterPen"
|
||
Background="Transparent" Height="20" Width="52"
|
||
CornerRadius="3">
|
||
<Canvas>
|
||
<ui:SimpleStackPanel Visibility="Collapsed"
|
||
x:Name="HighlightPenTabButtonIndicator"
|
||
Orientation="Horizontal" Canvas.Left="14"
|
||
Canvas.Right="14" Canvas.Bottom="0">
|
||
<Border Width="24" Height="2"
|
||
Background="#fafafa" CornerRadius="1" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Vertical"
|
||
Height="20" Width="52">
|
||
<ui:SimpleStackPanel
|
||
VerticalAlignment="Center"
|
||
Orientation="Horizontal"
|
||
HorizontalAlignment="Center"
|
||
Margin="0,3">
|
||
<Image
|
||
Source="/Resources/new-icons/highlighter-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="13" Width="13" />
|
||
<TextBlock
|
||
x:Name="HighlightPenTabButtonText"
|
||
Foreground="White"
|
||
FontWeight="Medium"
|
||
FontSize="9" TextAlignment="Center"
|
||
Text="荧光笔" Margin="2,1,0,0" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Canvas>
|
||
</Border>
|
||
<Image Margin="66,0,0,0"
|
||
Source="/Resources/new-icons/close-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="16" Width="16"
|
||
MouseDown="Border_MouseDown"
|
||
MouseUp="CloseBordertools_MouseUp" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
|
||
</Border>
|
||
<Viewbox Name="DefaultPenPropsPanel" Visibility="Collapsed"
|
||
Margin="12,8,12,0" HorizontalAlignment="Center"
|
||
VerticalAlignment="Center" Stretch="Fill">
|
||
<ui:SimpleStackPanel>
|
||
<Controls:UniformGrid Columns="2" Width="300" Height="55">
|
||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||
Height="35">
|
||
<Label Content="笔锋" Margin="0,0,6,0"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontSize="16" FontWeight="Bold"
|
||
VerticalAlignment="Center" />
|
||
<ComboBox Height="30" VerticalAlignment="Center"
|
||
Name="ComboBoxPenStyle"
|
||
FontFamily="Microsoft YaHei UI"
|
||
SelectedIndex="0"
|
||
SelectionChanged="ComboBoxPenStyle_SelectionChanged">
|
||
<ComboBoxItem Content="基于点集"
|
||
FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="基于速率"
|
||
FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="关闭笔锋"
|
||
FontFamily="Microsoft YaHei UI" />
|
||
</ComboBox>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,-5,0,-5"
|
||
VerticalAlignment="Center">
|
||
<ui:SimpleStackPanel
|
||
x:Name="NibModeSimpleStackPanel"
|
||
Orientation="Horizontal" Width="140">
|
||
<Label Content="笔尖模式" FontSize="15"
|
||
VerticalAlignment="Center" />
|
||
<ui:ToggleSwitch
|
||
x:Name="ToggleSwitchEnableNibMode"
|
||
MinWidth="0"
|
||
FontFamily="Microsoft YaHei UI"
|
||
Width="70" Margin="10,0,0,0"
|
||
Toggled="ToggleSwitchEnableNibMode_Toggled"
|
||
IsOn="True" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||
Width="140">
|
||
<Label Margin="0,0,10,0" Content="墨迹纠正"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontSize="15" VerticalAlignment="Center" />
|
||
<ui:ToggleSwitch
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontFamily="Microsoft YaHei UI" Width="70"
|
||
Toggled="ToggleSwitchEnableInkToShape_Toggled"
|
||
MinWidth="0"
|
||
IsOn="{Binding ElementName=ToggleSwitchEnableInkToShape, Path=IsOn}" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Controls:UniformGrid>
|
||
|
||
|
||
<StackPanel Orientation="Horizontal" Height="30">
|
||
<Label Margin="0,0,10,0" Content="粗细" FontWeight="Bold"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontSize="17" VerticalAlignment="Center" />
|
||
<Slider x:Name="InkWidthSlider" Minimum="1"
|
||
Maximum="20"
|
||
Width="208" FontFamily="Microsoft YaHei UI"
|
||
FontSize="20" IsSnapToTickEnabled="True"
|
||
Value="5"
|
||
TickFrequency="0.1" TickPlacement="None"
|
||
ValueChanged="InkWidthSlider_ValueChanged" />
|
||
<TextBlock
|
||
Text="{Binding Value, ElementName=InkWidthSlider, Mode=OneWay}"
|
||
FontFamily="Consolas" VerticalAlignment="Bottom"
|
||
Margin="10,0,0,4.5" FontSize="15" />
|
||
</StackPanel>
|
||
<StackPanel Orientation="Horizontal" Height="30">
|
||
<Label Margin="0,0,10,0" Content="透明" FontWeight="Bold"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontSize="17" VerticalAlignment="Center" />
|
||
<Slider x:Name="InkAlphaSlider" Margin="0,0,0,0"
|
||
Minimum="1" Maximum="255" Width="208"
|
||
FontFamily="Microsoft YaHei UI" FontSize="20"
|
||
IsSnapToTickEnabled="True" Value="255"
|
||
TickFrequency="1"
|
||
TickPlacement="None"
|
||
ValueChanged="InkAlphaSlider_ValueChanged" />
|
||
<TextBlock
|
||
Text="{Binding Value, ElementName=InkAlphaSlider, Mode=OneWay}"
|
||
FontFamily="Consolas" VerticalAlignment="Bottom"
|
||
Margin="10,0,0,4.5" FontSize="15" />
|
||
</StackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Viewbox>
|
||
<Viewbox Name="HighlighterPenPropsPanel" Margin="12,8,12,0"
|
||
HorizontalAlignment="Center" VerticalAlignment="Center"
|
||
Stretch="Fill">
|
||
<ui:SimpleStackPanel>
|
||
<StackPanel Orientation="Horizontal" Height="30">
|
||
<Label Margin="0,0,10,0" Content="粗细" FontWeight="Bold"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontSize="17" VerticalAlignment="Center" />
|
||
<Slider x:Name="HighlighterWidthSlider" Minimum="15"
|
||
Maximum="45" Width="208"
|
||
FontFamily="Microsoft YaHei UI" FontSize="20"
|
||
IsSnapToTickEnabled="True" Value="20"
|
||
TickFrequency="1" TickPlacement="None"
|
||
ValueChanged="HighlighterWidthSlider_ValueChanged" />
|
||
<TextBlock
|
||
Text="{Binding Value, ElementName=HighlighterWidthSlider, Mode=OneWay}"
|
||
FontFamily="Consolas" VerticalAlignment="Bottom"
|
||
Margin="10,0,0,4.5" FontSize="15" />
|
||
</StackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Viewbox>
|
||
<Viewbox x:Name="DefaultPenColorsPanel" Visibility="Collapsed"
|
||
Margin="0,8,0,0" Stretch="Fill">
|
||
<ui:SimpleStackPanel Width="300" Margin="0,0,0,0">
|
||
<!--<TextBlock FontSize="25">画笔颜色</TextBlock>-->
|
||
<Border Width="300" Height="100" BorderBrush="Black"
|
||
BorderThickness="0" CornerRadius="5">
|
||
<Controls:UniformGrid Rows="2" Height="100">
|
||
<ui:SimpleStackPanel Height="45"
|
||
Orientation="Horizontal" Width="270">
|
||
<Controls:UniformGrid Columns="5" Width="270"
|
||
Margin="0">
|
||
<Border BorderBrush="Black"
|
||
BorderThickness="1"
|
||
CornerRadius="100" Width="45"
|
||
MouseDown="Border_MouseDown"
|
||
MouseUp="ColorThemeSwitch_MouseUp">
|
||
<Grid Margin="3">
|
||
<Image
|
||
x:Name="ColorThemeSwitchIcon"
|
||
Source="/Resources/Icons-Fluent/ic_fluent_weather_sunny_24_regular.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="23"
|
||
Height="23" Margin="0,0,0,0" />
|
||
<TextBlock Margin="0,0,0,2"
|
||
x:Name="ColorThemeSwitchTextBlock"
|
||
Text="亮系" Foreground="Black"
|
||
VerticalAlignment="Bottom"
|
||
HorizontalAlignment="Center"
|
||
FontSize="11" />
|
||
</Grid>
|
||
</Border>
|
||
<Border x:Name="BorderPenColorBlack"
|
||
Background="Black" BorderBrush="Black"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45"
|
||
MouseUp="BtnColorBlack_Click">
|
||
<Viewbox
|
||
Name="ViewboxBtnColorBlackContent"
|
||
Visibility="Collapsed" Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24" Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
<Border x:Name="BorderPenColorWhite"
|
||
Background="White"
|
||
BorderBrush="#71717a"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45"
|
||
MouseUp="BtnColorWhite_Click">
|
||
<Viewbox
|
||
x:Name="ViewboxBtnColorWhiteContent"
|
||
Visibility="Collapsed" Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-black.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24" Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
<Border x:Name="BorderPenColorRed"
|
||
Background="#dc2626"
|
||
BorderBrush="#7f1d1d"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45" MouseUp="BtnColorRed_Click">
|
||
<Viewbox
|
||
Name="ViewboxBtnColorRedContent"
|
||
Visibility="Collapsed" Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24" Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
<Border x:Name="BorderPenColorYellow"
|
||
Background="#eab308"
|
||
BorderBrush="#713f12"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45"
|
||
MouseUp="BtnColorYellow_Click">
|
||
<Viewbox
|
||
x:Name="ViewboxBtnColorYellowContent"
|
||
Visibility="Collapsed" Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24" Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
</Controls:UniformGrid>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Height="45"
|
||
Orientation="Horizontal" Width="270">
|
||
<Controls:UniformGrid Columns="5" Width="270"
|
||
Margin="0">
|
||
|
||
<Border x:Name="BorderPenColorGreen"
|
||
Background="#16a34a"
|
||
BorderBrush="#14532d"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45"
|
||
MouseUp="BtnColorGreen_Click">
|
||
<Viewbox
|
||
x:Name="ViewboxBtnColorGreenContent"
|
||
Visibility="Collapsed" Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24" Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
<Border x:Name="BorderPenColorBlue"
|
||
Background="#2563eb"
|
||
BorderBrush="#1e3a8a"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45" MouseUp="BtnColorBlue_Click">
|
||
<Viewbox
|
||
x:Name="ViewboxBtnColorBlueContent"
|
||
Visibility="Collapsed" Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24" Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
<Border x:Name="BorderPenColorPink"
|
||
Background="#db2777"
|
||
BorderBrush="#831843"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45" MouseUp="BtnColorPink_Click">
|
||
<Viewbox
|
||
x:Name="ViewboxBtnColorPinkContent"
|
||
Visibility="Collapsed" Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24" Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
<Border x:Name="BorderPenColorTeal"
|
||
Background="#0d9488"
|
||
BorderBrush="#134e4a"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45" MouseUp="BtnColorTeal_Click">
|
||
<Viewbox
|
||
x:Name="ViewboxBtnColorTealContent"
|
||
Visibility="Collapsed" Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24" Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
<Border x:Name="BorderPenColorOrange"
|
||
Background="#ea580c"
|
||
BorderBrush="#7c2d12"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45"
|
||
MouseUp="BtnColorOrange_Click">
|
||
<Viewbox
|
||
x:Name="ViewboxBtnColorOrangeContent"
|
||
Visibility="Collapsed" Margin="8">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24"
|
||
Height="24" Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Border>
|
||
</Controls:UniformGrid>
|
||
</ui:SimpleStackPanel>
|
||
</Controls:UniformGrid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Viewbox>
|
||
<Viewbox x:Name="HighlighterPenColorsPanel" Visibility="Visible"
|
||
Margin="0,8,0,0" Stretch="Fill">
|
||
<ui:SimpleStackPanel Width="300" Margin="0,0,0,0">
|
||
<!--<TextBlock FontSize="25">画笔颜色</TextBlock>-->
|
||
<Border Width="300" Height="110" BorderBrush="Black"
|
||
BorderThickness="0" CornerRadius="5">
|
||
<Controls:UniformGrid Rows="2" Height="110">
|
||
<ui:SimpleStackPanel Height="45"
|
||
Orientation="Horizontal" Width="270">
|
||
<Controls:UniformGrid Columns="5" Width="270"
|
||
Margin="0">
|
||
<Border x:Name="HighlighterPenColorBlack"
|
||
BorderBrush="#e4e4e7"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorBlack_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="Black"
|
||
Width="42"
|
||
Height="42" CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="HighlighterPenViewboxBtnColorBlackContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
<Border x:Name="HighlighterPenColorWhite"
|
||
Background="White"
|
||
BorderBrush="#dddddd"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100"
|
||
Width="45"
|
||
MouseUp="BtnHighlighterColorWhite_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="White"
|
||
Width="42"
|
||
Height="42" CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="HighlighterPenViewboxBtnColorWhiteContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-black.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
<Border x:Name="HighlighterPenColorRed"
|
||
BorderBrush="#fecaca"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorRed_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="#ef4444"
|
||
Width="42"
|
||
Height="42" CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="HighlighterPenViewboxBtnColorRedContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
<Border x:Name="HighlighterPenColorYellow"
|
||
BorderBrush="#fef08a"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorYellow_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="#eab308"
|
||
Width="42"
|
||
Height="42" CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="HighlighterPenViewboxBtnColorYellowContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-black.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
<Border x:Name="HighlighterPenColorGreen"
|
||
BorderBrush="#bbf7d0"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorGreen_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="#22c55e"
|
||
Width="42"
|
||
Height="42" CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="HighlighterPenViewboxBtnColorGreenContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-black.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
</Controls:UniformGrid>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Height="45"
|
||
Orientation="Horizontal" Width="270">
|
||
<Controls:UniformGrid Columns="5" Width="270"
|
||
Margin="0">
|
||
<Border x:Name="HighlighterPenColorZinc"
|
||
BorderBrush="#e4e4e7"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorZinc_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="#71717a"
|
||
Width="42"
|
||
Height="42" CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="HighlighterPenViewboxBtnColorZincContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
<Border x:Name="HighlighterPenColorBlue"
|
||
BorderBrush="#bfdbfe"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorBlue_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="#3b82f6"
|
||
Width="42"
|
||
Height="42" CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="HighlighterPenViewboxBtnColorBlueContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
<Border
|
||
x:Name="HighlighterPenPenColorPurple"
|
||
BorderBrush="#e9d5ff"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorPurple_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="#a855f7"
|
||
Width="42"
|
||
Height="42" CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="HighlighterPenViewboxBtnColorPurpleContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
<Border x:Name="HighlighterPenColorTeal"
|
||
BorderBrush="#99f6e4"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorTeal_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="#14b8a6"
|
||
Width="42"
|
||
Height="42" CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="HighlighterPenViewboxBtnColorTealContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-black.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
<Border x:Name="HighlighterPenColorOrange"
|
||
BorderBrush="#fed7aa"
|
||
BorderThickness="1.5"
|
||
CornerRadius="100" Width="45"
|
||
MouseUp="BtnHighlighterColorOrange_Click">
|
||
<Canvas>
|
||
<Image
|
||
Source="/Resources/Icons-png/transparent-grid.png"
|
||
Width="42" Height="42">
|
||
<Image.Clip>
|
||
<EllipseGeometry
|
||
Center="21,21"
|
||
RadiusX="21"
|
||
RadiusY="21" />
|
||
</Image.Clip>
|
||
</Image>
|
||
<Border Background="#f97316"
|
||
Width="42"
|
||
Height="42" CornerRadius="21"
|
||
Opacity="0.75" />
|
||
<Viewbox
|
||
Name="HighlighterPenViewboxBtnColorOrangeContent"
|
||
Visibility="Visible"
|
||
Canvas.Top="9"
|
||
Canvas.Left="9">
|
||
<Image
|
||
Source="/Resources/new-icons/checked-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
VerticalAlignment="Top"
|
||
Width="24" Height="24"
|
||
Margin="0,0,0,0" />
|
||
</Viewbox>
|
||
</Canvas>
|
||
</Border>
|
||
</Controls:UniformGrid>
|
||
</ui:SimpleStackPanel>
|
||
</Controls:UniformGrid>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Viewbox>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</Grid>
|
||
</ui:SimpleStackPanel>
|
||
|
||
<ui:SimpleStackPanel Name="Eraser_Icon"
|
||
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
|
||
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
|
||
MouseUp="EraserIcon_Click"
|
||
Background="Transparent" Orientation="Vertical"
|
||
HorizontalAlignment="Center" Margin="0,-2" Width="28">
|
||
<Image x:Name="CircleEraserToolbarIconImage"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="17"
|
||
Margin="0,3,0,0">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing x:Name="CircleEraserIconGeometry"
|
||
Geometry="" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock x:Name="CircleEraserToolbarTextBlock" Text="面积擦" Foreground="Black"
|
||
FontSize="8" Margin="0,1,0,0" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Name="EraserByStrokes_Icon"
|
||
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
|
||
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
|
||
MouseUp="EraserIconByStrokes_Click"
|
||
Background="Transparent" Orientation="Vertical" Width="28"
|
||
Margin="0,-2" HorizontalAlignment="Center">
|
||
<Image x:Name="StrokeEraserToolbarIconImage"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="17"
|
||
Margin="0,3,0,0">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing x:Name="StrokeEraserIconGeometry"
|
||
Geometry="" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock x:Name="InkEraserToolbarTextBlock" Text="线擦" Foreground="Black"
|
||
FontSize="8" Margin="0,1,0,0" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Name="SymbolIconSelect"
|
||
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
|
||
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
|
||
MouseUp="SymbolIconSelect_MouseUp" Background="Transparent"
|
||
Orientation="Vertical" Margin="0,-2" Width="28"
|
||
HorizontalAlignment="Center">
|
||
<Image x:Name="LassoSelect" RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="17" Margin="0,3,0,0">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing x:Name="LassoSelectIconGeometry"
|
||
Geometry="" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock x:Name="LassoToolToolbarTextBlock" Text="套索选" Foreground="Black"
|
||
FontSize="8" Margin="0,1,0,0" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
Name="ShapeDrawFloatingBarBtn"
|
||
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
|
||
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
|
||
MouseUp="ImageDrawShape_MouseUp" Background="Transparent"
|
||
Orientation="Vertical" HorizontalAlignment="Center" Margin="0,-2"
|
||
Width="28">
|
||
<Image RenderOptions.BitmapScalingMode="HighQuality" Height="17"
|
||
Margin="0,3,0,0">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing x:Name="ShapesIconGeometry"
|
||
Brush="#1b1b1b"
|
||
Geometry="F1 M24,24z M0,0z M8.7269,2.9067C8.84872,2.70875 9.00852,2.57931 9.20647,2.5184 9.41966,2.44227 9.62541,2.43465 9.82337,2.49556 10.0365,2.55647 10.2039,2.67829 10.3257,2.86102L13.9118,8.13731C12.9068,8.47231 12.0084,8.99766 11.2165,9.71334 10.4247,10.4138 9.8157,11.2513 9.38933,12.2259 8.93251,13.2156 8.70413,14.2587 8.70413,15.3551L8.7269,15.9946 2.46851,15.9946C2.22487,15.9946 2.01158,15.9185 1.82885,15.7662 1.66135,15.614 1.55481,15.4236 1.50913,15.1952 1.47868,14.9668 1.5244,14.746 1.64622,14.5328L8.7269,2.9067z M16.3329,21.545C15.2061,21.545 14.1632,21.2633 13.2038,20.6999 12.275,20.1517 11.5288,19.4056 10.9654,18.4615 10.4172,17.5022 10.1431,16.4667 10.1431,15.3551 10.1431,14.2283 10.4172,13.1928 10.9654,12.2487 11.5288,11.3046 12.2825,10.5585 13.2266,10.0103 14.1707,9.44687 15.1986,9.16516 16.3102,9.16516 17.437,9.16516 18.4724,9.44687 19.4165,10.0103 20.3606,10.5585 21.1068,11.3046 21.6549,12.2487 22.2184,13.1928 22.5,14.2283 22.5,15.3551 22.5,16.4667 22.2184,17.5022 21.6549,18.4615 21.1068,19.4056 20.3683,20.1517 19.4395,20.6999 18.4801,21.2633 17.4445,21.545 16.3329,21.545z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock x:Name="ShapesToolbarTextBlock" Text="几何" Foreground="Black"
|
||
FontSize="8" Margin="0,1,0,0" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
|
||
<Grid Width="0">
|
||
<Border x:Name="BorderDrawShape" Background="#fafafa" Opacity="1"
|
||
Visibility="Visible" BorderBrush="#2563eb"
|
||
BorderThickness="1"
|
||
CornerRadius="5" Margin="-200,-122,-117,37">
|
||
<ui:SimpleStackPanel Spacing="0" Orientation="Vertical">
|
||
<!--<TextBlock FontSize="16" Foreground="{DynamicResource FloatBarForeground}" HorizontalAlignment="Left" Margin="10,8">
|
||
<Run Text="图形"/>
|
||
<Run Text="(第一行支持长按保持选中)" FontSize="10"/>
|
||
</TextBlock>
|
||
<ui:SymbolIcon Margin="0,-20,8,15" Symbol="Pin" MouseDown="Border_MouseDown" MouseUp="SymbolIconPinBorderDrawShape_MouseUp" Foreground="{DynamicResource FloatBarForeground}" HorizontalAlignment="Right"/>-->
|
||
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
|
||
CornerRadius="8,8,0,0" Background="#2563eb" Margin="-1,-1,-1,0"
|
||
Padding="1,1,1,0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||
HorizontalAlignment="Stretch">
|
||
<Canvas Height="24" Width="315" ClipToBounds="True">
|
||
<TextBlock Text="几何绘图" Canvas.Left="8" Foreground="White"
|
||
Padding="0,5" FontSize="11" FontWeight="Bold"
|
||
TextAlignment="Center" />
|
||
</Canvas>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Height="38" Spacing="2"
|
||
Margin="4,6,4,0">
|
||
<ui:SimpleStackPanel Name="BoardImageDrawLine"
|
||
MouseDown="Image_MouseDown"
|
||
MouseUp="BtnDrawLine_Click" Margin="0,0,0,0"
|
||
Height="38" Width="32" Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/geo-icons/line.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,4,0,2" Height="19" Width="19" />
|
||
<Label Content="画直线" FontSize="8" HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Name="BoardImageDrawDashedLine"
|
||
MouseDown="Image_MouseDown"
|
||
MouseUp="BtnDrawDashedLine_Click"
|
||
Margin="0,0,0,0"
|
||
Height="38" Width="32" Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/geo-icons/dashed-line.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,4,0,2" Height="19" Width="19" />
|
||
<Label Content="画虚线" FontSize="8" HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Name="BoardImageDrawDotLine"
|
||
MouseDown="Image_MouseDown"
|
||
MouseUp="BtnDrawDotLine_Click"
|
||
Margin="0,0,0,0"
|
||
Height="38" Width="32" Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/geo-icons/dotted-line.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,4,0,2" Height="19" Width="19" />
|
||
<Label Content="画点线" FontSize="8" HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Name="BoardImageDrawArrow"
|
||
MouseDown="Image_MouseDown"
|
||
MouseUp="BtnDrawArrow_Click" Margin="0,0,0,0"
|
||
Height="38" Width="32" Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/geo-icons/arrow.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,4,0,2" Height="19" Width="19" />
|
||
<Label Content="画箭头" FontSize="8" HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Name="BoardImageDrawParallelLine"
|
||
MouseDown="Image_MouseDown"
|
||
MouseUp="BtnDrawParallelLine_Click"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image
|
||
Source="/Resources/Icons-png/geo-icons/paralle-lines.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,4,0,2" Height="19" Width="19" />
|
||
<Label Content="4平行线" FontSize="8" HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseUp="BtnDrawRectangleCenter_Click"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image
|
||
Source="/Resources/Icons-png/geo-icons/centered-square.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,4,0,2" Height="19" Width="19" />
|
||
<Label Content="中心正方" FontSize="8" HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseUp="BtnDrawCircle_Click" Margin="0,0,0,0"
|
||
Height="38" Width="32" Orientation="Vertical">
|
||
<Image
|
||
Source="/Resources/Icons-png/geo-icons/centered-circle.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,4,0,2" Height="19" Width="19" />
|
||
<Label Content="中心圆" FontSize="8" HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseUp="BtnDrawDashedCircle_Click"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image
|
||
Source="/Resources/Icons-png/geo-icons/centered-circle-dashed.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,4,0,2"
|
||
Height="19" Width="19" />
|
||
<Label Content="中心虚圆" FontSize="8" HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseUp="BtnDrawCenterEllipse_Click"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image
|
||
Source="/Resources/Icons-png/geo-icons/centered-oval.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,4,0,2" Height="19" Width="19" />
|
||
<Label Content="中心椭圆" FontSize="8" HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<!--<Image Name="BoardImageDrawLine" Margin="16,12,0,12" MouseDown="Image_MouseDown" MouseUp="BtnDrawLine_Click" Source="{DynamicResource DrawShapeImageSource.Line}"/>-->
|
||
<!--<Image Name="BoardImageDrawDashedLine" Margin="0,12,0,12" MouseDown="Image_MouseDown" MouseUp="BtnDrawDashedLine_Click" Source="{DynamicResource DrawShapeImageSource.DashedLine}"/>-->
|
||
<!--<Image Name="BoardImageDrawDotLine" Margin="0,12,0,12" MouseDown="Image_MouseDown" MouseUp="BtnDrawDotLine_Click" Source="{DynamicResource DrawShapeImageSource.DotLine}"/>-->
|
||
<!--<Image Name="BoardImageDrawArrow" Margin="0,12,0,12" MouseDown="Image_MouseDown" MouseUp="BtnDrawArrow_Click" Source="{DynamicResource DrawShapeImageSource.ArrowLine}"/>-->
|
||
<!--<Image Name="BoardImageDrawParallelLine" Margin="0,11.5,16,11.5" MouseDown="Image_MouseDown" MouseUp="BtnDrawParallelLine_Click" Source="{DynamicResource DrawShapeImageSource.ParallelLine}"/>-->
|
||
<Image Visibility="Collapsed" Margin="14,9,0,9"
|
||
MouseUp="BtnDrawCoordinate1_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Coordinate1}" />
|
||
<Image Visibility="Collapsed" Margin="0,12"
|
||
MouseUp="BtnDrawCoordinate2_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Coordinate2}" />
|
||
<Image Visibility="Collapsed" Margin="0,12"
|
||
MouseUp="BtnDrawCoordinate3_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Coordinate3}" />
|
||
<Image Visibility="Collapsed" Margin="0,12"
|
||
MouseUp="BtnDrawCoordinate4_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Coordinate4}" />
|
||
<Image Visibility="Collapsed" Margin="-1,11.5"
|
||
MouseUp="BtnDrawCoordinate5_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Coordinate5}" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Height="38" Spacing="2"
|
||
Margin="4,0,4,6">
|
||
<ui:SimpleStackPanel MouseUp="BtnDrawCuboid_Click" Margin="0,0,0,0"
|
||
Height="38" Width="32" Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/geo-icons/cube.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,4,0,2" Height="19" Width="19" />
|
||
<Label Content="长方体" FontSize="8" HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseUp="BtnDrawRectangle_Click"
|
||
Margin="0,0,0,0"
|
||
Height="38" Width="32" Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/geo-icons/square.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,4,0,2" Height="19" Width="19" />
|
||
<Label Content="正方形" FontSize="8" HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseUp="BtnDrawCylinder_Click"
|
||
Margin="0,0,0,0"
|
||
Height="38" Width="32" Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/geo-icons/cylinder.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,4,0,2" Height="19" Width="19" />
|
||
<Label Content="画圆柱" FontSize="8" HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseUp="BtnDrawCone_Click" Margin="0,0,0,0"
|
||
Height="38" Width="32" Orientation="Vertical">
|
||
<Image Source="/Resources/Icons-png/geo-icons/cone.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Margin="0,4,0,2" Height="19" Width="19" />
|
||
<Label Content="画圆锥" FontSize="8" HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Visibility="Collapsed" Height="50" Spacing="10"
|
||
Orientation="Horizontal">
|
||
<Image Margin="16,11,2,11" MouseUp="BtnDrawRectangleCenter_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.RectangleCenter}" />
|
||
<Image Visibility="Collapsed" Margin="0,10"
|
||
MouseUp="BtnDrawEllipse_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Ellipse}" />
|
||
<Image Margin="0,10" MouseUp="BtnDrawCircle_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Circle}" />
|
||
<Image Margin="0,10" MouseUp="BtnDrawDashedCircle_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.DashedCircle}" />
|
||
<Image Margin="0,10" MouseUp="BtnDrawCenterEllipse_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.EllipseCenter}"
|
||
Width="30" />
|
||
<Image Margin="0,10"
|
||
MouseUp="BtnDrawCenterEllipseWithFocalPoint_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.EllipseCenterWithFocalPoint}"
|
||
Width="30" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Visibility="Collapsed" Height="50" Spacing="10"
|
||
Orientation="Horizontal">
|
||
<Image Margin="16,10,2,10" MouseUp="BtnDrawHyperbola_Click"
|
||
Width="26"
|
||
Source="{DynamicResource DrawShapeImageSource.Hyperbola}" />
|
||
<Image Margin="4,10,2,10"
|
||
MouseUp="BtnDrawHyperbolaWithFocalPoint_Click" Width="26"
|
||
Source="{DynamicResource DrawShapeImageSource.HyperbolaWithFocalPoint}" />
|
||
<Image Margin="2.5,10,2,10" MouseUp="BtnDrawParabola1_Click"
|
||
Width="26"
|
||
Source="{DynamicResource DrawShapeImageSource.Parabola}" />
|
||
<Image Margin="1,10,2,10"
|
||
MouseUp="BtnDrawParabolaWithFocalPoint_Click"
|
||
Width="26"
|
||
Source="{DynamicResource DrawShapeImageSource.ParabolaWithFocalPoint}"
|
||
RenderTransformOrigin="0.5,0.5">
|
||
<Image.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform />
|
||
<SkewTransform />
|
||
<RotateTransform Angle="90" />
|
||
<TranslateTransform />
|
||
</TransformGroup>
|
||
</Image.RenderTransform>
|
||
</Image>
|
||
<Image Margin="2,10,2,10" MouseUp="BtnDrawParabola2_Click"
|
||
Width="26"
|
||
Source="{DynamicResource DrawShapeImageSource.Parabola}"
|
||
RenderTransformOrigin="0.5,0.5">
|
||
<Image.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform />
|
||
<SkewTransform />
|
||
<RotateTransform Angle="90" />
|
||
<TranslateTransform />
|
||
</TransformGroup>
|
||
</Image.RenderTransform>
|
||
</Image>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Visibility="Collapsed" Height="50" Spacing="10"
|
||
Orientation="Horizontal">
|
||
<Image Margin="15,11,2,11" MouseUp="BtnDrawRectangle_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Rectangle}" />
|
||
<Image Margin="6,10,2,10" MouseUp="BtnDrawCylinder_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Cylinder}" />
|
||
<Image Margin="8,12.5,0,10" MouseUp="BtnDrawCone_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Cone}" />
|
||
<Image Margin="5.5,12.5,2.5,10" MouseUp="BtnDrawCuboid_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Cuboid}" />
|
||
<Image Visibility="Collapsed" Margin="0,11.5,2.5,9.5"
|
||
MouseUp="BtnDrawCuboid_Click"
|
||
Source="{DynamicResource DrawShapeImageSource.Tetrahedron}" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</Grid>
|
||
<ui:SimpleStackPanel
|
||
Name="SymbolIconUndo"
|
||
MouseUp="SymbolIconUndo_MouseUp"
|
||
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
|
||
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
|
||
Background="Transparent" Orientation="Vertical"
|
||
HorizontalAlignment="Center" Margin="0,-2"
|
||
IsEnabled="{Binding ElementName=BtnUndo, Path=IsEnabled}"
|
||
Width="28">
|
||
<Image RenderOptions.BitmapScalingMode="HighQuality" Height="17"
|
||
Margin="0,3,0,0"
|
||
Opacity="{Binding ElementName=BtnUndo, Path=IsEnabled, Converter={StaticResource IsEnabledToOpacityConverter}}">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing x:Name="UndoIconGeometry" Brush="#1b1b1b"
|
||
Geometry="F1 M24,24z M0,0z M10.3344,5.02734L10.3605,8.62849C12.2431,8.87029 14.0305,9.44026 15.7232,10.3384 17.4676,11.2538 18.9187,12.4196 20.0759,13.8359 21.3367,15.3731 22.1398,17.0657 22.4852,18.9138 22.5197,19.1211 22.4938,19.3197 22.4075,19.5097 22.3211,19.6997 22.2003,19.8292 22.0448,19.8983 21.8894,19.9501 21.7423,19.9069 21.6042,19.7687 20.7579,18.8361 19.6268,17.9984 18.2105,17.2557 16.9324,16.5821 15.5591,16.0553 14.091,15.6754 12.7093,15.3126 11.4659,15.1313 10.3605,15.1313L10.3344,18.862C10.3344,19.2938 10.2395,19.6047 10.0495,19.7947 9.8941,19.9501 9.69547,20.0106 9.45367,19.976 9.21187,19.9242 8.99586,19.8119 8.80587,19.6392 8.14955,18.9829 6.90606,17.7739 5.07526,16.0121 3.46899,14.475 2.41544,13.4559 1.91456,12.9551 1.63821,12.6787 1.5,12.3678 1.5,12.0224 1.51727,11.6769 1.67272,11.3574 1.96634,11.0638 4.02168,9.00847 6.3103,6.73724 8.83197,4.25011 9.00468,4.07739 9.20331,3.99967 9.42784,4.01694 9.66965,4.01694 9.87683,4.11194 10.0495,4.30193 10.2395,4.47464 10.3344,4.71645 10.3344,5.02734z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock x:Name="UndoToolbarTextBlock" Text="撤销"
|
||
Opacity="{Binding ElementName=BtnUndo, Path=IsEnabled, Converter={StaticResource IsEnabledToOpacityConverter}}"
|
||
Foreground="Black" FontSize="8" Margin="0,1,0,0"
|
||
TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
Name="SymbolIconRedo"
|
||
MouseUp="SymbolIconRedo_MouseUp"
|
||
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
|
||
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
|
||
Background="Transparent" Orientation="Vertical"
|
||
HorizontalAlignment="Center"
|
||
IsEnabled="{Binding ElementName=BtnRedo, Path=IsEnabled}"
|
||
Width="28" Margin="0,-2">
|
||
<Image RenderOptions.BitmapScalingMode="HighQuality" Height="17"
|
||
Margin="0,3,0,0"
|
||
Opacity="{Binding ElementName=BtnRedo, Path=IsEnabled, Converter={StaticResource IsEnabledToOpacityConverter}}">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing x:Name="RedoIconGeometry" Brush="#1b1b1b"
|
||
Geometry="F1 M24,24z M0,0z M13.6656,5.02734L13.6395,8.62849C11.7569,8.87029 9.96948,9.44026 8.27685,10.3384 6.5324,11.2538 5.08134,12.4196 3.92413,13.8359 2.6633,15.3731 1.86023,17.0657 1.5148,18.9138 1.48026,19.1211 1.50619,19.3197 1.59255,19.5097 1.6789,19.6997 1.79974,19.8292 1.95518,19.8983 2.11063,19.9501 2.25766,19.9069 2.39583,19.7687 3.24215,18.8361 4.37323,17.9984 5.78951,17.2557 7.06761,16.5821 8.44089,16.0553 9.90899,15.6754 11.2907,15.3126 12.5341,15.1313 13.6395,15.1313L13.6656,18.862C13.6656,19.2938 13.7605,19.6047 13.9505,19.7947 14.1059,19.9501 14.3045,20.0106 14.5463,19.976 14.7881,19.9242 15.0041,19.8119 15.1941,19.6392 15.8505,18.9829 17.0939,17.7739 18.9247,16.0121 20.531,14.475 21.5846,13.4559 22.0854,12.9551 22.3618,12.6787 22.5,12.3678 22.5,12.0224 22.4827,11.6769 22.3273,11.3574 22.0337,11.0638 19.9783,9.00847 17.6897,6.73724 15.168,4.25011 14.9953,4.07739 14.7967,3.99967 14.5722,4.01694 14.3304,4.01694 14.1232,4.11194 13.9505,4.30193 13.7605,4.47464 13.6656,4.71645 13.6656,5.02734z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock x:Name="RedoToolbarTextBlock" Text="重做"
|
||
Opacity="{Binding ElementName=BtnRedo, Path=IsEnabled, Converter={StaticResource IsEnabledToOpacityConverter}}"
|
||
Foreground="Black" FontSize="8" Margin="0,1,0,0"
|
||
TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
Name="CursorWithDelFloatingBarBtn"
|
||
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
|
||
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
|
||
MouseUp="CursorWithDelIcon_Click"
|
||
Background="Transparent" Orientation="Vertical"
|
||
HorizontalAlignment="Center" Width="28" Margin="0,-2">
|
||
<Image RenderOptions.BitmapScalingMode="HighQuality" Width="28" Height="17"
|
||
Margin="0,3,0,0">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#FF000000"
|
||
Geometry="F0 M24,24z M0,0z M11.5007,11.0214C11.5007,10.674,11.7823,10.3923,12.1298,10.3923L14.2967,10.3923 14.2967,9.90299C14.2967,9.41878 14.5325,8.98723 14.8305,8.68924 15.1285,8.39124 15.56,8.15547 16.0442,8.15547L18.281,8.15547C18.7652,8.15547 19.1968,8.39124 19.4948,8.68924 19.7928,8.98723 20.0286,9.41878 20.0286,9.90299L20.0286,10.3923 22.1955,10.3923C22.5429,10.3923 22.8246,10.674 22.8246,11.0214 22.8246,11.3688 22.5429,11.6505 22.1955,11.6505L21.7062,11.6505 21.7062,18.8503C21.7062,19.3345 21.4704,19.766 21.1724,20.064 20.8744,20.362 20.4429,20.5978 19.9587,20.5978L14.3666,20.5978C13.8824,20.5978 13.4508,20.362 13.1528,20.064 12.8549,19.766 12.6191,19.3345 12.6191,18.8503L12.6191,11.6505 12.1298,11.6505C11.7823,11.6505,11.5007,11.3688,11.5007,11.0214z M14.0425,19.1743C13.9211,19.0529,13.8773,18.9253,13.8773,18.8503L13.8773,11.6505 20.448,11.6505 20.448,18.8503C20.448,18.9253 20.4041,19.0529 20.2827,19.1743 20.1613,19.2958 20.0337,19.3396 19.9587,19.3396L14.3666,19.3396C14.2916,19.3396,14.1639,19.2958,14.0425,19.1743z M15.5549,9.90299C15.5549,9.82799 15.5987,9.70034 15.7202,9.57893 15.8416,9.45752 15.9692,9.41368 16.0442,9.41368L18.281,9.41368C18.356,9.41368 18.4837,9.45752 18.6051,9.57893 18.7265,9.70034 18.7703,9.82799 18.7703,9.90299L18.7703,10.3923 15.5549,10.3923 15.5549,9.90299z M18.9101,13.8174C18.9101,13.47 18.6285,13.1883 18.281,13.1883 17.9336,13.1883 17.6519,13.47 17.6519,13.8174L17.6519,17.1727C17.6519,17.5201 17.9336,17.8018 18.281,17.8018 18.6285,17.8018 18.9101,17.5201 18.9101,17.1727L18.9101,13.8174z M16.6733,13.8174C16.6733,13.47 16.3917,13.1883 16.0442,13.1883 15.6968,13.1883 15.4151,13.47 15.4151,13.8174L15.4151,17.1727C15.4151,17.5201 15.6968,17.8018 16.0442,17.8018 16.3917,17.8018 16.6733,17.5201 16.6733,17.1727L16.6733,13.8174z M1.32567,3.55246C1.47265,3.40549,1.69379,3.36174,1.88566,3.44167L11.8342,7.58639C12.0311,7.66845 12.1567,7.86389 12.1495,8.07716 12.1424,8.29043 12.0039,8.47698 11.8018,8.54561L8.25047,9.75183 11.4309,12.9323C11.6313,13.1326 11.6313,13.4574 11.4309,13.6577 11.2306,13.8581 10.9058,13.8581 10.7055,13.6577L7.52503,10.4773 6.31881,14.0286C6.25019,14.2307 6.06364,14.3692 5.85037,14.3763 5.6371,14.3835 5.44166,14.2579 5.3596,14.0609L1.21488,4.11245C1.13494,3.92058,1.1787,3.69944,1.32567,3.55246z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock x:Name="ClearAndMouseToolbarTextBlock" Text="清并鼠" Foreground="Black"
|
||
FontSize="8" Margin="0,1,0,0" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
<Grid Width="0">
|
||
<Border Visibility="Visible" ClipToBounds="True" Name="EraserSizePanel"
|
||
Margin="-203,-128,83,37" CornerRadius="5" Background="#fafafa" Opacity="1"
|
||
BorderBrush="#2563eb" BorderThickness="1">
|
||
<ui:SimpleStackPanel Margin="0">
|
||
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
|
||
CornerRadius="6,6,0,0"
|
||
Background="#2563eb" Margin="-1,-1,-1,1">
|
||
<Canvas Height="24" ClipToBounds="True">
|
||
<TextBlock Text="橡皮选项" Canvas.Left="8" Foreground="White"
|
||
Padding="0,5"
|
||
FontSize="11" FontWeight="Bold" TextAlignment="Center" />
|
||
</Canvas>
|
||
</Border>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Margin="0,8,0,0" Spacing="-2"
|
||
VerticalAlignment="Center"
|
||
HorizontalAlignment="Center">
|
||
<Label Margin="0,0,0,0" Content="大小" FontWeight="Bold"
|
||
Foreground="{DynamicResource FloatBarForeground}" FontSize="10"
|
||
VerticalAlignment="Center" />
|
||
<Viewbox Margin="8,0,0,0" Height="20" Width="52">
|
||
<ComboBox Name="ComboBoxEraserSizeFloatingBar"
|
||
FontFamily="Microsoft YaHei UI" SelectedIndex="2"
|
||
SelectionChanged="ComboBoxEraserSizeFloatingBar_SelectionChanged">
|
||
<ComboBoxItem Content="很小" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="较小" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="中等" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="较大" FontFamily="Microsoft YaHei UI" />
|
||
<ComboBoxItem Content="很大" FontFamily="Microsoft YaHei UI" />
|
||
</ComboBox>
|
||
</Viewbox>
|
||
</ui:SimpleStackPanel>
|
||
<TextBlock HorizontalAlignment="Center" Margin="0,12,0,6" Text="橡皮形状"
|
||
FontWeight="Bold"
|
||
Foreground="{DynamicResource FloatBarForeground}"
|
||
FontSize="10" VerticalAlignment="Center" />
|
||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Center"
|
||
Margin="0,0,0,0" Spacing="4">
|
||
<Border x:Name="CircleEraserTabButton" MouseDown="SwitchToCircleEraser"
|
||
Background="#553b82f6" Height="20" Width="40" CornerRadius="3">
|
||
<Canvas>
|
||
<ui:SimpleStackPanel x:Name="CircleEraserTabButtonIndicator"
|
||
Visibility="Visible"
|
||
Orientation="Horizontal"
|
||
Canvas.Left="11" Canvas.Right="11"
|
||
Canvas.Bottom="0">
|
||
<Border Width="18" Height="2" Background="#2563eb"
|
||
CornerRadius="1" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Vertical" Height="20"
|
||
Width="40">
|
||
<ui:SimpleStackPanel VerticalAlignment="Center"
|
||
Orientation="Horizontal"
|
||
HorizontalAlignment="Center" Margin="0,3">
|
||
<TextBlock x:Name="CircleEraserTabButtonText"
|
||
Foreground="#172554" FontWeight="Medium"
|
||
FontSize="9" TextAlignment="Center"
|
||
Text="圆形擦"
|
||
Margin="2,1,0,0" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Canvas>
|
||
</Border>
|
||
<Border x:Name="RectangleEraserTabButton"
|
||
MouseDown="SwitchToRectangleEraser" Background="Transparent"
|
||
Height="20" Width="40" CornerRadius="3">
|
||
<Canvas>
|
||
<ui:SimpleStackPanel Visibility="Collapsed"
|
||
x:Name="RectangleEraserTabButtonIndicator"
|
||
Orientation="Horizontal" Canvas.Left="11"
|
||
Canvas.Right="11" Canvas.Bottom="0">
|
||
<Border Width="18" Height="2" Background="#2563eb"
|
||
CornerRadius="1" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Orientation="Vertical" Height="20"
|
||
Width="40">
|
||
<ui:SimpleStackPanel VerticalAlignment="Center"
|
||
Orientation="Horizontal"
|
||
HorizontalAlignment="Center" Margin="0,3">
|
||
<TextBlock x:Name="RectangleEraserTabButtonText"
|
||
Foreground="#172554" FontWeight="Medium"
|
||
FontSize="9" TextAlignment="Center"
|
||
Text="黑板擦"
|
||
Margin="2,1,0,0" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Canvas>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</Grid>
|
||
<ui:SimpleStackPanel
|
||
Orientation="{Binding ElementName=StackPanelFloatingBar, Path=Orientation}">
|
||
<Border Margin="2,0,2,0" BorderBrush="#71717a" BorderThickness="1,0,0,0" />
|
||
<ui:SimpleStackPanel
|
||
Name="WhiteboardFloatingBarBtn"
|
||
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
|
||
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
|
||
MouseUp="ImageBlackboard_MouseUp" Background="Transparent"
|
||
Orientation="Vertical" HorizontalAlignment="Center" Width="28"
|
||
Margin="0,-2">
|
||
<Image RenderOptions.BitmapScalingMode="HighQuality" Width="28" Height="17"
|
||
Margin="0,3,0,0">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#FF000000"
|
||
Geometry="F0 M24,24z M0,0z M5,5.875C4.70163,5.875 4.41548,5.99353 4.2045,6.2045 3.99353,6.41548 3.875,6.70163 3.875,7L3.875,17C3.875,17.2984 3.99353,17.5845 4.2045,17.7955 4.41548,18.0065 4.70163,18.125 5,18.125L8,18.125C8.48325,18.125 8.875,18.5168 8.875,19 8.875,19.4832 8.48325,19.875 8,19.875L5,19.875C4.2375,19.875 3.50623,19.5721 2.96707,19.0329 2.4279,18.4938 2.125,17.7625 2.125,17L2.125,7C2.125,6.2375 2.4279,5.50624 2.96707,4.96707 3.50624,4.4279 4.2375,4.125 5,4.125L19,4.125C19.7625,4.125 20.4938,4.4279 21.0329,4.96707 21.5721,5.50623 21.875,6.2375 21.875,7L21.875,18C21.875,18.4973 21.6775,18.9742 21.3258,19.3258 20.9742,19.6775 20.4973,19.875 20,19.875 19.5168,19.875 19.125,19.4832 19.125,19 19.125,18.5168 19.5168,18.125 20,18.125 20.0332,18.125 20.0649,18.1118 20.0884,18.0884 20.1118,18.0649 20.125,18.0332 20.125,18L20.125,7C20.125,6.70163 20.0065,6.41548 19.7955,6.2045 19.5845,5.99353 19.2984,5.875 19,5.875L5,5.875z M10.6742,15.6742C11.0258,15.3225,11.5027,15.125,12,15.125L16,15.125C16.4973,15.125 16.9742,15.3225 17.3258,15.6742 17.6775,16.0258 17.875,16.5027 17.875,17L17.875,18C17.875,18.4973 17.6775,18.9742 17.3258,19.3258 16.9742,19.6775 16.4973,19.875 16,19.875L12,19.875C11.5027,19.875 11.0258,19.6775 10.6742,19.3258 10.3225,18.9742 10.125,18.4973 10.125,18L10.125,17C10.125,16.5027,10.3225,16.0258,10.6742,15.6742z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock x:Name="WhiteboardToolbarTextBlock" Text="白板" Foreground="Black"
|
||
FontSize="8" Margin="0,1,0,0" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
Name="ToolsFloatingBarBtn"
|
||
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
|
||
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
|
||
MouseUp="SymbolIconTools_MouseUp" Background="Transparent"
|
||
Orientation="Vertical" HorizontalAlignment="Center" Width="28"
|
||
Margin="0,-2">
|
||
<Image RenderOptions.BitmapScalingMode="HighQuality" Width="28" Height="17"
|
||
Margin="0,3,0,0">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#FF1B1B1B"
|
||
Geometry="F0 M24,24z M0,0z M4.41721,4.29873C4.35178,4.29873,4.29873,4.35178,4.29873,4.41721L4.29873,9.15646C4.29873,9.22189,4.35178,9.27494,4.41721,9.27494L9.15646,9.27494C9.22189,9.27494,9.27494,9.22189,9.27494,9.15646L9.27494,4.41721C9.27494,4.35178,9.22189,4.29873,9.15646,4.29873L4.41721,4.29873z M2.64,4.41721C2.64,3.43569,3.43569,2.64,4.41721,2.64L9.15646,2.64C10.138,2.64,10.9337,3.43569,10.9337,4.41721L10.9337,9.15646C10.9337,10.138,10.138,10.9337,9.15646,10.9337L4.41721,10.9337C3.43569,10.9337,2.64,10.138,2.64,9.15646L2.64,4.41721z M14.8435,4.29873C14.7781,4.29873,14.7251,4.35178,14.7251,4.41721L14.7251,9.15646C14.7251,9.22189,14.7781,9.27494,14.8435,9.27494L19.5828,9.27494C19.6482,9.27494,19.7013,9.22189,19.7013,9.15646L19.7013,4.41721C19.7013,4.35178,19.6482,4.29873,19.5828,4.29873L14.8435,4.29873z M13.0663,4.41721C13.0663,3.43569,13.862,2.64,14.8435,2.64L19.5828,2.64C20.5643,2.64,21.36,3.43569,21.36,4.41721L21.36,9.15646C21.36,10.138,20.5643,10.9337,19.5828,10.9337L14.8435,10.9337C13.862,10.9337,13.0663,10.138,13.0663,9.15646L13.0663,4.41721z M14.8435,14.7251C14.7781,14.7251,14.7251,14.7781,14.7251,14.8435L14.7251,19.5828C14.7251,19.6482,14.7781,19.7013,14.8435,19.7013L19.5828,19.7013C19.6482,19.7013,19.7013,19.6482,19.7013,19.5828L19.7013,14.8435C19.7013,14.7781,19.6482,14.7251,19.5828,14.7251L14.8435,14.7251z M13.0663,14.8435C13.0663,13.862,13.862,13.0663,14.8435,13.0663L19.5828,13.0663C20.5643,13.0663,21.36,13.862,21.36,14.8435L21.36,19.5828C21.36,20.5643,20.5643,21.36,19.5828,21.36L14.8435,21.36C13.862,21.36,13.0663,20.5643,13.0663,19.5828L13.0663,14.8435z M4.41721,14.7251C4.35178,14.7251,4.29873,14.7781,4.29873,14.8435L4.29873,19.5828C4.29873,19.6482,4.35178,19.7013,4.41721,19.7013L9.15646,19.7013C9.22189,19.7013,9.27494,19.6482,9.27494,19.5828L9.27494,14.8435C9.27494,14.7781,9.22189,14.7251,9.15646,14.7251L4.41721,14.7251z M2.64,14.8435C2.64,13.862,3.43569,13.0663,4.41721,13.0663L9.15646,13.0663C10.138,13.0663,10.9337,13.862,10.9337,14.8435L10.9337,19.5828C10.9337,20.5643,10.138,21.36,9.15646,21.36L4.41721,21.36C3.43569,21.36,2.64,20.5643,2.64,19.5828L2.64,14.8435z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock x:Name="ToolsToolbarTextBlock" Text="工具" Foreground="Black"
|
||
FontSize="8"
|
||
Margin="0,1,0,0" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
x:Name="Fold_Icon"
|
||
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
|
||
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
|
||
MouseUp="FoldFloatingBar_MouseUp" Background="Transparent"
|
||
Orientation="Vertical" HorizontalAlignment="Center" Width="28"
|
||
Margin="0,-2">
|
||
<Image RenderOptions.BitmapScalingMode="HighQuality" Width="28" Height="17"
|
||
Margin="0,3,0,0">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#FF1B1B1B"
|
||
Geometry="F1 M24,24z M0,0z M19.1634,15.0537C18.9999,15.0537 18.8278,15.0021 18.6902,14.8902 18.3632,14.6321 18.3116,14.1589 18.5783,13.832 19.0343,13.2642 19.4387,12.6447 19.7656,11.9909 19.172,10.8208 16.763,6.72556 11.9967,6.72556 11.6612,6.72556 11.3256,6.75137 10.9987,6.78579 10.5943,6.83741 10.2072,6.54489 10.1556,6.13193 10.1039,5.71896 10.3965,5.34041 10.8094,5.28879 11.1966,5.23717 11.5923,5.21136 11.9967,5.21136 18.4407,5.21136 21.1766,11.423 21.297,11.6897 21.383,11.8876 21.3744,12.1113 21.2884,12.3006 20.8754,13.1781 20.3592,14.0041 19.757,14.7612 19.6107,14.9418 19.387,15.0451 19.172,15.0451L19.1634,15.0537z M10.689,15.1483C11.0847,15.3118,11.5063,15.3892,11.9365,15.3892L11.9451,15.4064 12.0053,15.4064C12.4613,15.3978 12.8915,15.2946 13.3044,15.1139 13.4763,15.0387 13.6392,14.9486 13.7931,14.8455L15.4197,16.472 16.533,17.5854 20.0753,21.1277C20.2216,21.2826,20.4195,21.3514,20.6087,21.3514L20.6001,21.36C20.7894,21.36 20.9873,21.2826 21.1335,21.1363 21.4261,20.8438 21.4261,20.362 21.1335,20.0695L3.92668,2.86262C3.63416,2.5615 3.16958,2.57011 2.86846,2.86262 2.56734,3.15514 2.56734,3.62833 2.86846,3.92085L6.21371,7.2661C4.72738,8.44444 3.5311,9.95577 2.71359,11.6725 2.62756,11.8704 2.61896,12.0941 2.70499,12.292 2.81684,12.5587 5.55273,18.7704 12.0053,18.7704L12.0311,18.7704C13.6161,18.7704,15.1606,18.3654,16.533,17.5854L15.4197,16.472C14.3708,16.9906,13.2144,17.2648,12.0311,17.2648L12.0053,17.2648C7.239,17.2648 4.83004,13.1695 4.2364,11.9995 4.96897,10.5725 6.01289,9.32147 7.29011,8.3425L9.15767,10.2101C9.05523,10.3645 8.96629,10.5279 8.89086,10.7003 8.71018,11.1133 8.60694,11.5521 8.60694,11.9995 8.59834,12.4468 8.67577,12.8856 8.84784,13.3072 9.0113,13.7288 9.26081,14.0987 9.57913,14.417 9.89746,14.7354 10.2674,14.9763 10.689,15.1483z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<TextBlock x:Name="HideToolbarTextBlock" Text="隐藏" Foreground="Black"
|
||
FontSize="8"
|
||
Margin="0,1,0,0" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<Grid Width="0">
|
||
<Border ClipToBounds="True" Name="BorderTools" Margin="-133,-156,14,37"
|
||
CornerRadius="5" Background="#fafafa" Opacity="1" BorderThickness="1"
|
||
BorderBrush="#2563eb">
|
||
<ui:SimpleStackPanel Margin="-1,0,0,0">
|
||
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
|
||
CornerRadius="6,6,0,0" Background="#2563eb" Margin="-1,-1,-1,0"
|
||
Padding="1,1,1,0">
|
||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||
HorizontalAlignment="Stretch">
|
||
<TextBlock Text="更多功能" Foreground="White" Padding="8,5,44,5"
|
||
FontSize="11" FontWeight="Bold"
|
||
TextAlignment="Center" />
|
||
<Image Margin="0,0,0,0"
|
||
Source="/Resources/new-icons/close-white.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="16"
|
||
Width="16" MouseDown="Border_MouseDown"
|
||
MouseUp="CloseBordertools_MouseUp" />
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<!---->
|
||
<ui:SimpleStackPanel Margin="10,3,10,2" Spacing="-2">
|
||
<ui:SimpleStackPanel Margin="0,0,0,0" Height="40" Spacing="0"
|
||
Orientation="Horizontal">
|
||
<ui:SimpleStackPanel MouseDown="Border_MouseDown"
|
||
MouseUp="ImageCountdownTimer_MouseUp"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M12,3C11.7613,3 11.5324,3.09482 11.3636,3.2636 11.1948,3.43239 11.1,3.6613 11.1,3.9L11.1,6.6C11.1,7.09705 11.5029,7.5 12,7.5 12.4971,7.5 12.9,7.09705 12.9,6.6L12.9,4.85646C14.3196,5.0353 15.6613,5.63436 16.7472,6.58675 18.0606,7.73848 18.9104,9.32838 19.1384,11.0602 19.3664,12.792 18.957,14.5477 17.9865,16.0001 17.0162,17.4525 15.5508,18.5026 13.8635,18.9547 12.1762,19.4067 10.3822,19.2301 8.81552,18.4575 7.24888,17.6849 6.01653,16.3691 5.34806,14.7554 4.67961,13.1415 4.62062,11.3397 5.1821,9.68563 5.49617,8.76044 5.99235,7.91676 6.63344,7.2 6.96481,6.8295 6.93309,6.26054 6.5626,5.92917 6.19212,5.59781 5.62315,5.62952 5.29179,6.00001 4.49049,6.8959 3.87021,7.95054 3.47763,9.10704 2.77577,11.1746 2.84951,13.4269 3.68509,15.4441 4.52067,17.4614 6.0611,19.1061 8.0194,20.0718 9.97769,21.0375 12.2203,21.2585 14.3294,20.6933 16.4384,20.1282 18.2701,18.8156 19.4832,17.0001 20.6963,15.1847 21.208,12.9901 20.923,10.8252 20.638,8.66047 19.5758,6.67311 17.9341,5.23344 16.2925,3.79377 14.1835,3 12,3z M9.0364,7.7636C8.68492,7.41213 8.11508,7.41213 7.7636,7.7636 7.41213,8.11508 7.41213,8.68492 7.7636,9.0364L10.2609,11.5338C10.2212,11.6825 10.2,11.8387 10.2,12 10.2,12.9941 11.0059,13.8 12,13.8 12.9941,13.8 13.8,12.9941 13.8,12 13.8,11.0059 12.9941,10.2 12,10.2 11.8387,10.2 11.6825,10.2212 11.5338,10.2609L9.0364,7.7636z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="计时器" FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseDown="Border_MouseDown"
|
||
MouseUp="SymbolIconRand_MouseUp"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M15.9475,4.75965C15.7358,5.18305,15.9074,5.69791,16.3308,5.90961L16.9034,6.19589C14.0673,6.82039 11.7039,8.89176 10.7582,11.729 9.8511,14.4502 7.3045,16.2857 4.43608,16.2857L3.85713,16.2857C3.38376,16.2857 3,16.6694 3,17.1428 3,17.6162 3.38376,17.9999 3.85713,17.9999L4.43608,17.9999C8.04237,17.9999 11.2441,15.6923 12.3845,12.271 13.2915,9.54985 15.8381,7.71436 18.7066,7.71436L20.124,7.71436C20.1661,7.71524 20.208,7.71301 20.2494,7.70777 20.4903,7.67729 20.7143,7.54515 20.8554,7.33338 20.9116,7.24952 20.9533,7.15519 20.9771,7.05396 21.001,6.95301 21.0059,6.85024 20.9932,6.75036 20.9627,6.50938 20.8304,6.28523 20.6184,6.14418 20.5838,6.12101 20.5474,6.1003 20.5094,6.08229L17.0974,4.37632C16.674,4.16462,16.1592,4.33624,15.9475,4.75965z M20.8557,16.667C20.9116,16.7507 20.9533,16.8447 20.977,16.9456 21.001,17.0467 21.0059,17.1497 20.9932,17.2498 20.9626,17.4908 20.8303,17.7148 20.6185,17.8558 20.5838,17.8791 20.5474,17.8997 20.5094,17.9177L17.0975,19.6237C16.674,19.8354 16.1592,19.6638 15.9475,19.2404 15.7358,18.817 15.9074,18.3022 16.3308,18.0904L17.0491,17.7313C15.7728,17.4079 14.5941,16.8029 13.5952,15.9737 13.231,15.6713 13.1809,15.1308 13.4833,14.7667 13.7857,14.4025 14.3261,14.3523 14.6903,14.6547 15.9326,15.6862 17.5188,16.2857 19.2067,16.2857L20.1241,16.2857C20.1662,16.2848 20.2081,16.287 20.2495,16.2923 20.4905,16.3228 20.7146,16.455 20.8557,16.667z M3,6.85722C3,6.38384,3.38376,6.00009,3.85713,6.00009L4.36455,6.00009C6.25231,6.00009 8.03834,6.60414 9.50119,7.6588 9.88517,7.93565 9.972,8.47136 9.69519,8.85534 9.41835,9.23934 8.88264,9.32619 8.49866,9.04935 7.32072,8.2001 5.88391,7.71436 4.36455,7.71436L3.85713,7.71436C3.38376,7.71436,3,7.3306,3,6.85722z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="随机抽" FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseDown="Border_MouseDown"
|
||
MouseUp="SymbolIconRandOne_MouseUp"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M3.9,9.3C4.39706,9.3,4.8,8.89706,4.8,8.4L4.8,4.8 8.4,4.8C8.89705,4.8 9.3,4.39706 9.3,3.9 9.3,3.40295 8.89705,3 8.4,3L3.9,3C3.6613,3 3.43239,3.09482 3.2636,3.2636 3.09482,3.43239 3,3.6613 3,3.9L3,8.4C3,8.89706,3.40295,9.3,3.9,9.3z M3.9,14.7C4.39706,14.7,4.8,15.1029,4.8,15.6L4.8,19.2 8.4,19.2C8.89705,19.2 9.3,19.6029 9.3,20.1 9.3,20.5971 8.89705,21 8.4,21L3.9,21C3.6613,21 3.43239,20.9051 3.2636,20.7364 3.09482,20.5676 3,20.3387 3,20.1L3,15.6C3,15.1029,3.40295,14.7,3.9,14.7z M20.1,9.3C19.6029,9.3,19.2,8.89706,19.2,8.4L19.2,4.8 15.6,4.8C15.1029,4.8 14.7,4.39706 14.7,3.9 14.7,3.40295 15.1029,3 15.6,3L20.1,3C20.3387,3 20.5676,3.09482 20.7364,3.2636 20.9051,3.43239 21,3.6613 21,3.9L21,8.4C21,8.89706,20.5971,9.3,20.1,9.3z M20.1,14.7C19.6029,14.7,19.2,15.1029,19.2,15.6L19.2,19.2 15.6,19.2C15.1029,19.2 14.7,19.6029 14.7,20.1 14.7,20.5971 15.1029,21 15.6,21L20.1,21C20.3387,21 20.5676,20.9051 20.7364,20.7364 20.9051,20.5676 21,20.3387 21,20.1L21,15.6C21,15.1029,20.5971,14.7,20.1,14.7z M8.4,10.2C8.4,8.21177 10.0118,6.6 12,6.6 13.9882,6.6 15.6,8.21177 15.6,10.2 15.6,12.1882 13.9882,13.8 12,13.8 10.0118,13.8 8.4,12.1882 8.4,10.2z M12,8.4C11.0059,8.4 10.2,9.20589 10.2,10.2 10.2,11.1941 11.0059,12 12,12 12.9941,12 13.8,11.1941 13.8,10.2 13.8,9.20589 12.9941,8.4 12,8.4z M7.5,16.5C7.5,16.0029,7.90295,15.6,8.4,15.6L15.6,15.6C16.0971,15.6 16.5,16.0029 16.5,16.5 16.5,16.9971 16.0971,17.4 15.6,17.4L8.4,17.4C7.90295,17.4,7.5,16.9971,7.5,16.5z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="单次抽选" FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,0,0,0" Height="40" Spacing="0"
|
||
Orientation="Horizontal">
|
||
<ui:SimpleStackPanel MouseDown="Border_MouseDown"
|
||
MouseUp="SymbolIconSaveStrokes_MouseUp"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M6,5C5.73478,5 5.48043,5.10536 5.29289,5.29289 5.10536,5.48043 5,5.73478 5,6L5,18C5,18.2652 5.10536,18.5196 5.29289,18.7071 5.48043,18.8946 5.73478,19 6,19L18,19C18.2652,19 18.5196,18.8946 18.7071,18.7071 18.8946,18.5196 19,18.2652 19,18L19,8.41421 15.5858,5 15,5 15,8C15,8.55228,14.5523,9,14,9L8,9C7.44772,9,7,8.55228,7,8L7,5 6,5z M8,3L6,3C5.20435,3 4.44129,3.31607 3.87868,3.87868 3.31607,4.44129 3,5.20435 3,6L3,18C3,18.7956 3.31607,19.5587 3.87868,20.1213 4.44129,20.6839 5.20435,21 6,21L18,21C18.7957,21 19.5587,20.6839 20.1213,20.1213 20.6839,19.5587 21,18.7957 21,18L21,8C21,7.73478,20.8946,7.48043,20.7071,7.29289L16.7071,3.29289C16.5196,3.10536,16.2652,3,16,3L14,3 8,3z M9,5L9,7 13,7 13,5 9,5z M9.87868,11.8787C10.4413,11.3161 11.2043,11 12,11 12.7957,11 13.5587,11.3161 14.1213,11.8787 14.6839,12.4413 15,13.2043 15,14 15,14.7957 14.6839,15.5587 14.1213,16.1213 13.5587,16.6839 12.7957,17 12,17 11.2043,17 10.4413,16.6839 9.87868,16.1213 9.31607,15.5587 9,14.7957 9,14 9,13.2043 9.31607,12.4413 9.87868,11.8787z M12,13C11.7348,13 11.4804,13.1054 11.2929,13.2929 11.1054,13.4804 11,13.7348 11,14 11,14.2652 11.1054,14.5196 11.2929,14.7071 11.4804,14.8946 11.7348,15 12,15 12.2652,15 12.5196,14.8946 12.7071,14.7071 12.8946,14.5196 13,14.2652 13,14 13,13.7348 12.8946,13.4804 12.7071,13.2929 12.5196,13.1054 12.2652,13 12,13z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="保存" FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseDown="Border_MouseDown"
|
||
MouseUp="SymbolIconOpenStrokes_MouseUp"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M5,5C4.73478,5 4.48043,5.10536 4.29289,5.29289 4.10536,5.48043 4,5.73478 4,6L4,17C4,17.2652 4.10536,17.5196 4.29289,17.7071 4.32236,17.7366 4.35349,17.764 4.38604,17.7893L6.82062,11.298C6.82065,11.2979 6.8206,11.2981 6.82062,11.298 6.96351,10.9169 7.21932,10.5883 7.55377,10.3564 7.88827,10.1245 8.28558,10.0002 8.69262,10L20,10 20,9C20,8.73478 19.8946,8.48043 19.7071,8.29289 19.5196,8.10536 19.2652,8 19,8L12,8C11.7348,8,11.4804,7.89464,11.2929,7.70711L8.58579,5 5,5z M20.9992,12L8.69338,12 6.44307,18 19.0257,18C19.0258,18 19.0256,18 19.0257,18 19.2583,17.9999 19.4838,17.9187 19.663,17.7705 19.8422,17.6222 19.9641,17.416 20.0077,17.1875L20.9992,12z M22,10.2682C22.1988,10.383 22.3767,10.5315 22.5256,10.7073 22.7133,10.9288 22.8504,11.1885 22.9276,11.4684 23.0048,11.7483 23.0201,12.0416 22.9725,12.328L22.9682,12.3517 21.9723,17.5625C21.8414,18.248 21.4756,18.8665 20.9379,19.3114 20.4002,19.7563 19.7242,19.9998 19.0263,20L5,20C4.20435,20 3.44129,19.6839 2.87868,19.1213 2.31607,18.5587 2,17.7956 2,17L2,6C2,5.20435 2.31607,4.44129 2.87868,3.87868 3.44129,3.31607 4.20435,3 5,3L9,3C9.26522,3,9.51957,3.10536,9.70711,3.29289L12.4142,6 19,6C19.7957,6 20.5587,6.31607 21.1213,6.87868 21.6839,7.44129 22,8.20435 22,9L22,10.2682z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="打开..." FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseDown="Border_MouseDown"
|
||
MouseUp="GridInkReplayButton_MouseUp"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M11,4.99999C11,4.60761 10.7705,4.25149 10.4132,4.08935 10.0559,3.92722 9.63679,3.98903 9.3415,4.24741L1.3415,11.2474C1.12448,11.4373 1,11.7116 1,12 1,12.2883 1.12448,12.5627 1.3415,12.7526L9.3415,19.7526C9.63679,20.0109 10.0559,20.0728 10.4132,19.9106 10.7705,19.7485 11,19.3924 11,19L11,4.99999z M9,16.7962L3.51859,12 9,7.20375 9,16.7962z M22,4.99999C22,4.60761 21.7705,4.25149 21.4132,4.08935 21.0559,3.92722 20.6368,3.98903 20.3415,4.24741L12.3415,11.2474C12.1245,11.4373 12,11.7116 12,12 12,12.2883 12.1245,12.5627 12.3415,12.7526L20.3415,19.7526C20.6368,20.0109 21.0559,20.0728 21.4132,19.9106 21.7705,19.7485 22,19.3924 22,19L22,4.99999z M20,16.7962L14.5186,12 20,7.20375 20,16.7962z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="重播" FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Margin="0,0,0,0" Height="40" Spacing="0"
|
||
Orientation="Horizontal">
|
||
<ui:SimpleStackPanel MouseDown="Border_MouseDown"
|
||
MouseUp="SymbolIconScreenshot_MouseUp"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M9,3C8.46957,3 7.96086,3.21071 7.58579,3.58579 7.21071,3.96086 7,4.46957 7,5 7,5.26522 6.89464,5.51957 6.70711,5.70711 6.51957,5.89464 6.26522,6 6,6L5,6C4.20435,6 3.44129,6.31607 2.87868,6.87868 2.31607,7.44129 2,8.20435 2,9L2,18C2,18.7956 2.31607,19.5587 2.87868,20.1213 3.44129,20.6839 4.20435,21 5,21L19,21C19.7957,21 20.5587,20.6839 21.1213,20.1213 21.6839,19.5587 22,18.7957 22,18L22,9C22,8.20435 21.6839,7.44129 21.1213,6.87868 20.5587,6.31607 19.7957,6 19,6L18,6C17.7348,6 17.4804,5.89464 17.2929,5.70711 17.1054,5.51957 17,5.26522 17,5 17,4.46957 16.7893,3.96086 16.4142,3.58579 16.0391,3.21071 15.5304,3 15,3L9,3z M9,5L15,5C15,5.79565 15.3161,6.55871 15.8787,7.12132 16.4413,7.68393 17.2044,8 18,8L19,8C19.2652,8 19.5196,8.10536 19.7071,8.29289 19.8946,8.48043 20,8.73478 20,9L20,18C20,18.2652 19.8946,18.5196 19.7071,18.7071 19.5196,18.8946 19.2652,19 19,19L5,19C4.73478,19 4.48043,18.8946 4.29289,18.7071 4.10536,18.5196 4,18.2652 4,18L4,9C4,8.73478 4.10536,8.48043 4.29289,8.29289 4.48043,8.10536 4.73478,8 5,8L6,8C6.79565,8 7.55871,7.68393 8.12132,7.12132 8.68393,6.55871 9,5.79565 9,5z M12,9C10.9391,9 9.92172,9.42143 9.17157,10.1716 8.42143,10.9217 8,11.9391 8,13 8,14.0609 8.42143,15.0783 9.17157,15.8284 9.92172,16.5786 10.9391,17 12,17 13.0609,17 14.0783,16.5786 14.8284,15.8284 15.5786,15.0783 16,14.0609 16,13 16,11.9391 15.5786,10.9217 14.8284,10.1716 14.0783,9.42143 13.0609,9 12,9z M10.5858,11.5858C10.9609,11.2107 11.4696,11 12,11 12.5304,11 13.0391,11.2107 13.4142,11.5858 13.7893,11.9609 14,12.4696 14,13 14,13.5304 13.7893,14.0391 13.4142,14.4142 13.0391,14.7893 12.5304,15 12,15 11.4696,15 10.9609,14.7893 10.5858,14.4142 10.2107,14.0391 10,13.5304 10,13 10,12.4696 10.2107,11.9609 10.5858,11.5858z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="截屏" FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseDown="Border_MouseDown"
|
||
MouseUp="OperatingGuideWindowIcon_MouseUp"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M8.17317,2.7612C9.38642,2.25866 10.6868,2 12,2 13.3132,2 14.6136,2.25866 15.8268,2.7612 17.0401,3.26375 18.1425,4.00035 19.0711,4.92893 19.9997,5.85752 20.7362,6.95991 21.2388,8.17317 21.7413,9.38642 22,10.6868 22,12 22,13.3132 21.7413,14.6136 21.2388,15.8268 20.7362,17.0401 19.9997,18.1425 19.0711,19.0711 18.1425,19.9997 17.0401,20.7362 15.8268,21.2388 14.6136,21.7413 13.3132,22 12,22 10.6868,22 9.38642,21.7413 8.17317,21.2388 6.95991,20.7362 5.85752,19.9997 4.92893,19.0711 4.00035,18.1425 3.26375,17.0401 2.7612,15.8268 2.25866,14.6136 2,13.3132 2,12 2,10.6868 2.25866,9.38642 2.7612,8.17317 3.26375,6.95991 4.00035,5.85752 4.92893,4.92893 5.85752,4.00035 6.95991,3.26375 8.17317,2.7612z M12,4C10.9494,4 9.90914,4.20693 8.93853,4.60896 7.96793,5.011 7.08601,5.60028 6.34315,6.34315 5.60028,7.08601 5.011,7.96793 4.60896,8.93853 4.20693,9.90914 4,10.9494 4,12 4,13.0506 4.20693,14.0909 4.60896,15.0615 5.011,16.0321 5.60028,16.914 6.34315,17.6569 7.08601,18.3997 7.96793,18.989 8.93853,19.391 9.90914,19.7931 10.9494,20 12,20 13.0506,20 14.0909,19.7931 15.0615,19.391 16.0321,18.989 16.914,18.3997 17.6569,17.6569 18.3997,16.914 18.989,16.0321 19.391,15.0615 19.7931,14.0909 20,13.0506 20,12 20,10.9494 19.7931,9.90914 19.391,8.93853 18.989,7.96793 18.3997,7.08602 17.6569,6.34315 16.914,5.60028 16.0321,5.011 15.0615,4.60896 14.0909,4.20693 13.0506,4 12,4z M12,16C12.5523,16,13,16.4477,13,17L13,17.01C13,17.5623 12.5523,18.01 12,18.01 11.4477,18.01 11,17.5623 11,17.01L11,17C11,16.4477,11.4477,16,12,16z M12.0813,5.97153C11.5241,5.96998 10.9742,6.09779 10.4748,6.3449 9.97535,6.59201 9.54013,6.95167 9.20334,7.39557 8.86952,7.83555 8.95559,8.46284 9.39557,8.79666 9.83555,9.13047 10.4628,9.04441 10.7967,8.60443 10.9463,8.40714 11.1398,8.24729 11.3617,8.13746 11.5837,8.02764 11.8281,7.97083 12.0758,7.97152 12.3234,7.97221 12.5675,8.03037 12.7888,8.14142 13.0102,8.25248 13.2027,8.4134 13.3513,8.61151 13.4999,8.80963 13.6005,9.03953 13.6451,9.28311 13.6897,9.5267 13.6772,9.77732 13.6086,10.0152 13.5399,10.2532 13.4169,10.4719 13.2493,10.6542 13.084,10.8341 12.8798,10.9736 12.6524,11.0623 12.1479,11.2435 11.7149,11.5821 11.4175,12.0283 11.1169,12.4792 10.9709,13.0156 11.0016,13.5566 11.0329,14.108 11.5052,14.5297 12.0566,14.4984 12.608,14.4671 13.0297,13.9948 12.9984,13.4434 12.9923,13.3352 13.0214,13.2279 13.0816,13.1377 13.1417,13.0475 13.2295,12.9793 13.3317,12.9434 13.3403,12.9404 13.3487,12.9373 13.3572,12.934 13.8776,12.735 14.3448,12.4179 14.7218,12.0077 15.0989,11.5974 15.3756,11.1053 15.5301,10.5699 15.6846,10.0346 15.7128,9.47068 15.6124,8.92261 15.5119,8.37454 15.2856,7.85727 14.9513,7.41151 14.617,6.96576 14.1838,6.60369 13.6857,6.35381 13.1877,6.10393 12.6385,5.97307 12.0813,5.97153z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="说明书" FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel MouseDown="Border_MouseDown"
|
||
MouseUp="SymbolIconSettings_Click"
|
||
Margin="0,0,0,0" Height="38" Width="32"
|
||
Orientation="Vertical">
|
||
<Image Margin="0,4,0,2" Height="19" Width="19">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup
|
||
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="#18181b"
|
||
Geometry="F0 M24,24z M0,0z M4.66591,7.13141L11.4017,3.15976C11.5957,3.0552 11.8126,3.00041 12.033,3.00041 12.2534,3.00041 12.4704,3.0552 12.6643,3.15977L19.2182,7.02415C19.2676,7.06721 19.3219,7.10586 19.3806,7.13926 19.5699,7.24687 19.727,7.40296 19.8358,7.59146 19.9447,7.77997 20.0014,7.99407 20,8.21175L20,8.21175 20,8.218 20,15.502C20,15.943 19.7585,16.3548 19.3603,16.5737 19.3424,16.5835 19.3247,16.5939 19.3074,16.6049L12.5874,20.8559C12.4062,20.9506 12.2047,21.0001 12,21.0001 11.7953,21.0001 11.5938,20.9506 11.4126,20.8559L4.69261,16.6049C4.6746,16.5935 4.65624,16.5827 4.63755,16.5725 4.44494,16.4672 4.28416,16.3122 4.172,16.1235 4.05999,15.9351 4.00059,15.72 4,15.5008L4,8.217C4,7.77653 4.24107,7.36544 4.63968,7.14635 4.6485,7.1415 4.65724,7.13652 4.66591,7.13141z M20.4159,5.40859C20.4791,5.44583 20.5369,5.4892 20.589,5.53759 20.9895,5.81003 21.3244,6.16988 21.5678,6.59125 21.8538,7.08656 22.003,7.649 22,8.22093L22,15.502C22,16.6678,21.3677,17.7387,20.353,18.31L13.6266,22.5651C13.6092,22.5761 13.5914,22.5866 13.5733,22.5966 13.0911,22.8613 12.55,23.0001 12,23.0001 11.45,23.0001 10.9089,22.8613 10.4267,22.5966 10.4086,22.5866 10.3908,22.5761 10.3734,22.5651L3.64791,18.3106C3.15439,18.0339 2.74214,17.6322 2.45282,17.1455 2.15755,16.6488 2.00116,16.0818 2,15.504L2,15.502 2,8.217C2,7.04497,2.63892,5.97063,3.6619,5.40163L10.4001,1.42859C10.4084,1.4237 10.4167,1.41894 10.4252,1.41429 10.9176,1.1428 11.4707,1.00041 12.033,1.00041 12.5953,1.00041 13.1484,1.1428 13.6408,1.41429 13.6493,1.41894 13.6576,1.4237 13.6659,1.42859L20.4159,5.40859z M12,8C10.9391,8 9.92172,8.42143 9.17157,9.17157 8.42143,9.92172 8,10.9391 8,12 8,13.0609 8.42143,14.0783 9.17157,14.8284 9.92172,15.5786 10.9391,16 12,16 13.0609,16 14.0783,15.5786 14.8284,14.8284 15.5786,14.0783 16,13.0609 16,12 16,10.9391 15.5786,9.92172 14.8284,9.17157 14.0783,8.42143 13.0609,8 12,8z M10.5858,10.5858C10.9609,10.2107 11.4696,10 12,10 12.5304,10 13.0391,10.2107 13.4142,10.5858 13.7893,10.9609 14,11.4696 14,12 14,12.5304 13.7893,13.0391 13.4142,13.4142 13.0391,13.7893 12.5304,14 12,14 11.4696,14 10.9609,13.7893 10.5858,13.4142 10.2107,13.0391 10,12.5304 10,12 10,11.4696 10.2107,10.9609 10.5858,10.5858z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Label Content="设置" FontSize="8"
|
||
HorizontalAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</Grid>
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Grid>
|
||
|
||
</Border>
|
||
|
||
|
||
<Border Margin="2,0,0,0" x:Name="EnableTwoFingerGestureBorder" Visibility="Visible" Width="36"
|
||
Height="36" CornerRadius="5" Background="#fafafa" BorderBrush="#9952525b"
|
||
BorderThickness="1">
|
||
<ui:SimpleStackPanel
|
||
|
||
MouseUp="TwoFingerGestureBorder_MouseUp" Background="Transparent"
|
||
Orientation="Vertical" HorizontalAlignment="Center" Width="36" Margin="0">
|
||
<Image x:Name="EnableTwoFingerGestureBtn" Source="/Resources/new-icons/gesture.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Width="28" Height="18"
|
||
Margin="0,3,0,0" />
|
||
<TextBlock x:Name="gestureiconText" Text="手势" Foreground="Black" FontSize="8"
|
||
Margin="0,0,0,0"
|
||
TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<Grid Width="0">
|
||
<Border ClipToBounds="True" Name="TwoFingerGestureBorder" Margin="-86,-111,-33,40"
|
||
CornerRadius="5"
|
||
Background="#fafafa" Opacity="1" BorderBrush="#2563eb"
|
||
BorderThickness="1">
|
||
<ui:SimpleStackPanel Margin="0">
|
||
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1" CornerRadius="6,6,0,0"
|
||
Background="#2563eb" Margin="-1,-1,-1,1">
|
||
<Canvas Height="24" ClipToBounds="True">
|
||
<TextBlock Text="手势选项" Canvas.Left="8" Foreground="White" Padding="0,5"
|
||
FontSize="11" FontWeight="Bold" TextAlignment="Center" />
|
||
</Canvas>
|
||
</Border>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="4" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center" Margin="0,3,0,0">
|
||
<Image Source="/Resources/new-icons/multi-touch.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" />
|
||
<Label Content="多指书写" FontSize="10" VerticalAlignment="Center" />
|
||
<Viewbox Width="36" Height="18" Margin="4,0,0,0">
|
||
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
||
Name="ToggleSwitchEnableMultiTouchMode"
|
||
FontFamily="Microsoft YaHei UI" IsOn="False" OnContent=""
|
||
OffContent=""
|
||
Toggled="ToggleSwitchEnableMultiTouchMode_Toggled"
|
||
RenderTransformOrigin="0.5,0.5">
|
||
<ui:ToggleSwitch.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform />
|
||
<SkewTransform />
|
||
<RotateTransform />
|
||
<TranslateTransform X="8" />
|
||
</TransformGroup>
|
||
</ui:ToggleSwitch.RenderTransform>
|
||
</ui:ToggleSwitch>
|
||
</Viewbox>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel Opacity="1" x:Name="TwoFingerGestureSimpleStackPanel"
|
||
Orientation="Horizontal" Spacing="4" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center">
|
||
<Image Source="/Resources/new-icons/hand-move.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" />
|
||
<Label Content="双指移动" FontSize="10" VerticalAlignment="Center" />
|
||
<Viewbox Width="36" Height="18" Margin="4,0,0,0">
|
||
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
||
Name="ToggleSwitchEnableTwoFingerTranslate"
|
||
FontFamily="Microsoft YaHei UI" IsOn="False" OnContent=""
|
||
OffContent=""
|
||
Toggled="ToggleSwitchEnableTwoFingerTranslate_Toggled"
|
||
RenderTransformOrigin="0.5,0.5">
|
||
<ui:ToggleSwitch.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform />
|
||
<SkewTransform />
|
||
<RotateTransform />
|
||
<TranslateTransform X="8" />
|
||
</TransformGroup>
|
||
</ui:ToggleSwitch.RenderTransform>
|
||
</ui:ToggleSwitch>
|
||
</Viewbox>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
Opacity="{Binding ElementName=TwoFingerGestureSimpleStackPanel, Path=Opacity}"
|
||
Orientation="Horizontal" Spacing="4" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center">
|
||
<Image Source="/Resources/new-icons/zoom.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" />
|
||
<Label Content="双指缩放" FontSize="10" VerticalAlignment="Center" />
|
||
<Viewbox Width="36" Height="18" Margin="4,0,0,0">
|
||
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
||
FontFamily="Microsoft YaHei UI"
|
||
IsOn="False" OnContent="" OffContent=""
|
||
Name="ToggleSwitchEnableTwoFingerZoom"
|
||
Toggled="ToggleSwitchEnableTwoFingerZoom_Toggled"
|
||
RenderTransformOrigin="0.5,0.5">
|
||
<ui:ToggleSwitch.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform />
|
||
<SkewTransform />
|
||
<RotateTransform />
|
||
<TranslateTransform X="8" />
|
||
</TransformGroup>
|
||
</ui:ToggleSwitch.RenderTransform>
|
||
</ui:ToggleSwitch>
|
||
</Viewbox>
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
Opacity="{Binding ElementName=TwoFingerGestureSimpleStackPanel, Path=Opacity}"
|
||
Orientation="Horizontal" Spacing="4" VerticalAlignment="Center"
|
||
HorizontalAlignment="Center">
|
||
<Image Source="/Resources/new-icons/rotate.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" />
|
||
<Label Content="双指旋转" FontSize="10" VerticalAlignment="Center" />
|
||
<Viewbox Width="36" Height="18" Margin="4,0,0,0">
|
||
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
||
FontFamily="Microsoft YaHei UI"
|
||
IsOn="False" OnContent="" OffContent=""
|
||
Name="ToggleSwitchEnableTwoFingerRotation"
|
||
Toggled="ToggleSwitchEnableTwoFingerRotation_Toggled"
|
||
RenderTransformOrigin="0.5,0.5">
|
||
<ui:ToggleSwitch.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform />
|
||
<SkewTransform />
|
||
<RotateTransform />
|
||
<TranslateTransform X="8" />
|
||
</TransformGroup>
|
||
</ui:ToggleSwitch.RenderTransform>
|
||
</ui:ToggleSwitch>
|
||
</Viewbox>
|
||
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</Grid>
|
||
<!--Visibility="{Binding ElementName=BtnPPTSlideShowEnd, Path=Visibility}">-->
|
||
<Border x:Name="BorderFloatingBarExitPPTBtn" Margin="2,0,0,0" Width="34" Height="36"
|
||
MouseDown="Border_MouseDown" MouseUp="ImagePPTControlEnd_MouseUp"
|
||
Background="{DynamicResource FloatBarBackground}" CornerRadius="4" BorderThickness="1"
|
||
BorderBrush="{DynamicResource FloatBarBorderBrush}"
|
||
Visibility="{Binding ElementName=BtnPPTSlideShowEnd, Path=Visibility}">
|
||
<ui:SimpleStackPanel Background="Transparent" Orientation="Vertical"
|
||
HorizontalAlignment="Center"
|
||
Width="28" Margin="0,0">
|
||
<Image Source="/Resources/new-icons/end-slides-show.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Width="28" Height="17"
|
||
Margin="0,3,0,0" />
|
||
<TextBlock Text="退出" Foreground="Black" FontSize="8" Margin="0,1,0,0"
|
||
TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Viewbox>
|
||
</Grid>
|
||
|
||
<Grid Name="GridForFloatingBarDraging" Background="#01000000" Visibility="Collapsed"
|
||
MouseMove="SymbolIconEmoji_MouseMove" MouseUp="SymbolIconEmoji_MouseUp" />
|
||
|
||
<Grid>
|
||
<InkCanvas Name="InkCanvasForInkReplay" MouseDown="InkCanvasForInkReplay_MouseDown" Visibility="Collapsed"
|
||
EditingMode="None" Background="Transparent" />
|
||
<Border Name="BorderInkReplayToolBox" Width="386" Height="48" HorizontalAlignment="Center"
|
||
Visibility="Collapsed"
|
||
VerticalAlignment="Bottom" Margin="0,0,0,16" Background="#fafafa" CornerRadius="5"
|
||
BorderBrush="#a1a1aa" BorderThickness="1">
|
||
<ui:SimpleStackPanel Orientation="Horizontal">
|
||
<Border CornerRadius="5,0,0,5" Margin="-1" Padding="12" Background="#b91c1c">
|
||
<ui:SimpleStackPanel Orientation="Horizontal">
|
||
<Image Width="24" Height="24">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
||
<GeometryDrawing Brush="White"
|
||
Geometry="F0 M24,24z M0,0z M10.4679,3.29578C12.1914,3.08179 13.9385,3.41707 15.4604,4.25385 16.9822,5.09064 18.2013,6.38627 18.9439,7.95624 19.6865,9.5262 19.9148,11.2905 19.5963,12.9977 19.4919,13.5577 19.8611,14.0964 20.4211,14.2009 20.9811,14.3053 21.5198,13.936 21.6243,13.376 22.0224,11.2419 21.737,9.03662 20.8087,7.07416 19.8804,5.1117 18.3566,3.49216 16.4543,2.44618 14.552,1.4002 12.3681,0.981105 10.2138,1.24858 8.05937,1.51606 6.0443,2.45648 4.45553,3.9359 2.86675,5.41533 1.78526,7.35833 1.36509,9.4882 0.944914,11.6181 1.20747,13.8262 2.11537,15.7982 3.02327,17.7701 4.53022,19.4054 6.42161,20.471 8.31301,21.5366 10.4924,21.9783 12.6494,21.7331 13.2155,21.6688 13.6221,21.1578 13.5578,20.5918 13.4935,20.0258 12.9825,19.6191 12.4165,19.6834 10.6908,19.8795 8.94733,19.5262 7.43421,18.6737 5.9211,17.8212 4.71554,16.513 3.98922,14.9355 3.2629,13.3579 3.05285,11.5914 3.38899,9.88747 3.72513,8.18357 4.59032,6.62917 5.86134,5.44563 7.13237,4.26209 8.74442,3.50976 10.4679,3.29578z M11.484,5.29524C12.0536,5.29524,12.5154,5.75704,12.5154,6.32669L12.5154,11.0567 14.2762,12.8175C14.679,13.2203 14.679,13.8734 14.2762,14.2762 13.8734,14.679 13.2203,14.679 12.8175,14.2762L10.7546,12.2133C10.5612,12.0199,10.4525,11.7575,10.4525,11.484L10.4525,6.32669C10.4525,5.75704,10.9143,5.29524,11.484,5.29524z M17.1719,14.7253C16.8533,14.5341 16.4564,14.5291 16.133,14.7122 15.8097,14.8953 15.6098,15.2382 15.6098,15.6098L15.6098,21.7985C15.6098,22.1701 15.8097,22.513 16.133,22.6961 16.4564,22.8792 16.8533,22.8742 17.1719,22.683L22.3292,19.5886C22.6399,19.4022 22.83,19.0665 22.83,18.7042 22.83,18.3418 22.6399,18.0061 22.3292,17.8197L17.1719,14.7253z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
<StackPanel Width="128" Orientation="Vertical" VerticalAlignment="Center" Margin="8,0,0,0">
|
||
<TextBlock Name="InkReplayPanelStatusText" FontSize="17" FontWeight="Bold" Foreground="#b91c1c"
|
||
Text="正在重播墨迹..." VerticalAlignment="Center" />
|
||
<TextBlock FontSize="12" Foreground="#b91c1c" Text="双击屏幕退出播放" VerticalAlignment="Center" />
|
||
</StackPanel>
|
||
<ui:SimpleStackPanel Orientation="Horizontal" Margin="9,0,0,0" Spacing="6">
|
||
<Border Name="InkReplayPlayPauseBorder" MouseDown="InkReplayPlayPauseBorder_OnMouseDown"
|
||
MouseUp="InkReplayPlayPauseBorder_OnMouseUp" CornerRadius="16" Height="32" Width="32">
|
||
<Grid>
|
||
<Image Name="InkReplayPlayButtonImage" Visibility="Collapsed" Width="18" Height="18"
|
||
Margin="2,0,0,0">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
||
<GeometryDrawing Brush="#FFF2FCF3"
|
||
Geometry="F1 M16,16z M0,0z M13.5,7.13397C14.1667,7.51888,14.1667,8.48112,13.5,8.86602L4.5,14.0622C3.83333,14.4471,3,13.966,3,13.1962L3,2.80385C3,2.03405,3.83333,1.55292,4.5,1.93782L13.5,7.13397z">
|
||
<GeometryDrawing.Pen>
|
||
<Pen Brush="#FF208A3C" Thickness="1" StartLineCap="Flat"
|
||
EndLineCap="Flat" LineJoin="Miter" />
|
||
</GeometryDrawing.Pen>
|
||
</GeometryDrawing>
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
<Image Name="InkReplayPauseButtonImage" Width="18" Height="18">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
||
<GeometryDrawing Brush="#FFEBECF0">
|
||
<GeometryDrawing.Pen>
|
||
<Pen Brush="#FF6C707E" Thickness="1" StartLineCap="Flat"
|
||
EndLineCap="Flat" LineJoin="Miter" />
|
||
</GeometryDrawing.Pen>
|
||
<GeometryDrawing.Geometry>
|
||
<RectangleGeometry RadiusX="0.5" RadiusY="0.5"
|
||
Rect="3.5,2.5,3,11" />
|
||
</GeometryDrawing.Geometry>
|
||
</GeometryDrawing>
|
||
<GeometryDrawing Brush="#FFEBECF0">
|
||
<GeometryDrawing.Pen>
|
||
<Pen Brush="#FF6C707E" Thickness="1" StartLineCap="Flat"
|
||
EndLineCap="Flat" LineJoin="Miter" />
|
||
</GeometryDrawing.Pen>
|
||
<GeometryDrawing.Geometry>
|
||
<RectangleGeometry RadiusX="0.5" RadiusY="0.5"
|
||
Rect="9.5,2.5,3,11" />
|
||
</GeometryDrawing.Geometry>
|
||
</GeometryDrawing>
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Grid>
|
||
</Border>
|
||
<Border Name="InkReplayStopButtonBorder" MouseDown="InkReplayStopButtonBorder_OnMouseDown"
|
||
MouseUp="InkReplayStopButtonBorder_OnMouseUp" CornerRadius="16" Height="32" Width="32">
|
||
<Image Width="18" Height="18">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
||
<GeometryDrawing Brush="#FFFFF7F7">
|
||
<GeometryDrawing.Pen>
|
||
<Pen Brush="#FFDB3B4B" Thickness="1" StartLineCap="Flat"
|
||
EndLineCap="Flat" LineJoin="Miter" />
|
||
</GeometryDrawing.Pen>
|
||
<GeometryDrawing.Geometry>
|
||
<RectangleGeometry RadiusX="1.5" RadiusY="1.5"
|
||
Rect="2.5,2.5,11,11" />
|
||
</GeometryDrawing.Geometry>
|
||
</GeometryDrawing>
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Border>
|
||
<Border Name="InkReplayReplayButtonBorder" MouseDown="InkReplayReplayButtonBorder_OnMouseDown"
|
||
MouseUp="InkReplayReplayButtonBorder_OnMouseUp" CornerRadius="16" Height="32"
|
||
Width="32">
|
||
<Image Width="22" Height="22" Margin="-1,-1,0,0">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
||
<GeometryDrawing Brush="#FF208A3C"
|
||
Geometry="F0 M16,16z M0,0z M9,9.50215C9,8.32441,10.2951,7.60608,11.2942,8.22967L15.2962,10.7275C16.2372,11.3149,16.2372,12.6851,15.2962,13.2725L11.2942,15.7703C10.2951,16.3939,9,15.6756,9,14.4978L9,9.50215z M10.7647,9.07799C10.4317,8.87013,10,9.10957,10,9.50215L10,14.4978C10,14.8904,10.4317,15.1298,10.7647,14.922L14.7667,12.4241C15.0804,12.2284,15.0804,11.7716,14.7667,11.5758L10.7647,9.07799z" />
|
||
<GeometryDrawing Brush="#FFF2FCF3"
|
||
Geometry="F1 M16,16z M0,0z M10,9.50217C10,9.10959,10.4317,8.87015,10.7647,9.07801L14.7667,11.5758C15.0804,11.7716,15.0804,12.2284,14.7667,12.4242L10.7647,14.922C10.4317,15.1299,10,14.8904,10,14.4978L10,9.50217z" />
|
||
<GeometryDrawing Brush="#FF6C707E"
|
||
Geometry="F1 M16,16z M0,0z M14,1.5C14,1.22386 13.7761,1 13.5,1 13.2239,1 13,1.22386 13,1.5L13,4.68235C11.9256,3.06631 10.0877,2 8,2 4.68629,2 2,4.68629 2,8 2,11.3137 4.68629,14 8,14L8,13C5.23858,13 3,10.7614 3,8 3,5.23858 5.23858,3 8,3 9.63527,3 11.0878,3.78495 12.0005,5L9.5,5C9.22386,5 9,5.22386 9,5.5 9,5.77614 9.22386,6 9.5,6L14,6 14,1.5z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Border>
|
||
<Border Name="InkReplaySpeedButtonBorder" MouseDown="InkReplaySpeedButtonBorder_OnMouseDown"
|
||
MouseUp="InkReplaySpeedButtonBorder_OnMouseUp" CornerRadius="16" Height="32" Width="32">
|
||
<Image Width="22" Height="22" Margin="-1,-1,-1,0">
|
||
<Image.Source>
|
||
<DrawingImage>
|
||
<DrawingImage.Drawing>
|
||
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
||
<GeometryDrawing Brush="#FF208A3C"
|
||
Geometry="F0 M16,16z M0,0z M9,9.50215C9,8.32441,10.2951,7.60608,11.2942,8.22967L15.2962,10.7275C16.2372,11.3149,16.2372,12.6851,15.2962,13.2725L11.2942,15.7703C10.2951,16.3939,9,15.6756,9,14.4978L9,9.50215z M10.7647,9.07799C10.4317,8.87013,10,9.10957,10,9.50215L10,14.4978C10,14.8904,10.4317,15.1298,10.7647,14.922L14.7667,12.4241C15.0804,12.2284,15.0804,11.7716,14.7667,11.5758L10.7647,9.07799z" />
|
||
<GeometryDrawing Brush="#FFF2FCF3"
|
||
Geometry="F1 M16,16z M0,0z M10,9.50217C10,9.10959,10.4317,8.87015,10.7647,9.07801L14.7667,11.5758C15.0804,11.7716,15.0804,12.2284,14.7667,12.4242L10.7647,14.922C10.4317,15.1299,10,14.8904,10,14.4978L10,9.50217z" />
|
||
<GeometryDrawing Brush="#FF6C707E"
|
||
Geometry="F1 M16,16z M0,0z M1.5,9C1.5,5.41015 4.41015,2.5 8,2.5 11.5899,2.5 14.5,5.41015 14.5,9 14.5,9.01716 14.4999,9.03444 14.4997,9.05183L15.4651,9.65439C15.4879,9.42788 15.5,9.20815 15.5,9 15.5,4.85786 12.1421,1.5 8,1.5 3.85786,1.5 0.5,4.85786 0.5,9 0.5,10.1604 0.877241,11.6805 1.36637,12.7304 1.44463,12.8984 1.61594,13 1.80126,13L8,13 8,12 2.13917,12C1.76974,11.0874,1.5,9.89088,1.5,9z" />
|
||
<GeometryDrawing Brush="#FF6C707E"
|
||
Geometry="F1 M16,16z M0,0z M8,10.6L8,9.6C7.55826,9.59989 7.2002,9.24176 7.2002,8.8 7.2002,8.35817 7.55837,8 8.0002,8 8.15213,8 8.29417,8.04235 8.41515,8.11589 8.60651,7.82993 8.85445,7.58935 9.13847,7.40554 8.97934,7.27549 8.79754,7.17214 8.5999,7.10232L8.5999,3.99999C8.5999,3.66862 8.33127,3.39999 7.9999,3.39999 7.66853,3.39999 7.3999,3.66862 7.3999,3.99999L7.3999,7.10253C6.70094,7.34971 6.2002,8.01638 6.2002,8.8 6.2002,9.79405 7.00598,10.5999 8,10.6z" />
|
||
</DrawingGroup>
|
||
</DrawingImage.Drawing>
|
||
</DrawingImage>
|
||
</Image.Source>
|
||
</Image>
|
||
</Border>
|
||
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
||
<TextBlock Name="InkReplaySpeedTextBlock" Margin="4,0,0,0" FontSize="13"
|
||
Foreground="#18181b" Text="1.0x" VerticalAlignment="Center">
|
||
</TextBlock>
|
||
</StackPanel>
|
||
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</Grid>
|
||
|
||
<!--// 侧边栏 //-->
|
||
<Viewbox x:Name="LeftSidePanel" MouseUp="LeftUnFoldButtonDisplayQuickPanel_MouseUp" Visibility="Visible"
|
||
Height="50" Width="32" Margin="-60,0,0,-150" HorizontalAlignment="Left" VerticalAlignment="Center">
|
||
<ui:SimpleStackPanel>
|
||
<Border Background="#9918181b" Opacity="1" CornerRadius="0,25,25,0" Height="50" Width="32">
|
||
<Image x:Name="LeftUnFoldBtnImgChevron" Margin="10,0,0,0"
|
||
Source="/Resources/new-icons/unfold-chevron.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="14" Width="14" />
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Viewbox>
|
||
<Viewbox Width="50" Visibility="Collapsed" Name="LeftUnFoldButtonQuickPanel" Margin="-1,0,0,-150"
|
||
HorizontalAlignment="Left" VerticalAlignment="Center">
|
||
<Border ClipToBounds="True" Visibility="Visible" CornerRadius="0,6,6,0" Background="#fafafa" Opacity="1"
|
||
BorderThickness="1" BorderBrush="{DynamicResource FloatBarBorderBrush}" Width="32">
|
||
<ui:SimpleStackPanel Orientation="Vertical" Spacing="0" Margin="0,5">
|
||
<ui:SimpleStackPanel
|
||
MouseUp="SymbolIconRandOne_MouseUp"
|
||
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
|
||
Width="32" Margin="0">
|
||
<Image Source="/Resources/Icons-Fluent/ic_fluent_person_money_24_regular.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
|
||
<TextBlock Text="单次抽" Foreground="Black" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
MouseUp="SymbolIconRand_MouseUp"
|
||
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
|
||
Width="32" Margin="0">
|
||
<Image Source="/Resources/Icons-Fluent/ic_fluent_people_money_24_regular.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
|
||
<TextBlock Text="随机抽" Foreground="Black" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
|
||
MouseUp="ImageCountdownTimer_MouseUp" Background="Transparent"
|
||
Orientation="Vertical" HorizontalAlignment="Center" Width="32" Margin="0">
|
||
<Image Source="/Resources/Icons-Fluent/ic_fluent_timer_24_regular.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
|
||
<TextBlock Text="计时器" Foreground="Black" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
MouseUp="ImageBlackboard_MouseUp"
|
||
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
|
||
Width="32" Margin="0">
|
||
<Image Source="/Resources/new-icons/blackboard.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
|
||
<TextBlock Text="白板" Foreground="Black" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
MouseUp="UnFoldFloatingBar_MouseUp"
|
||
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
|
||
Width="32" Margin="0">
|
||
<Image Source="/Resources/new-icons/eye.png" RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="17" Margin="0,3,0,0" />
|
||
<TextBlock Text="显示" Foreground="Black" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
MouseUp="HideQuickPanel_MouseUp"
|
||
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
|
||
Width="32" Margin="0">
|
||
<Image Source="/Resources/new-icons/chevron-left.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,3" />
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</Viewbox>
|
||
<Viewbox x:Name="RightSidePanel" MouseUp="RightUnFoldButtonDisplayQuickPanel_MouseUp"
|
||
Visibility="{Binding ElementName=LeftSidePanel, Path=Visibility}" Height="50" Width="32"
|
||
Margin="0,0,-60,-150" HorizontalAlignment="Right" VerticalAlignment="Center">
|
||
<ui:SimpleStackPanel>
|
||
<Border Background="#9918181b" Opacity="1" CornerRadius="25,0,0,25" Height="50" Width="32">
|
||
<Image Margin="0,0,10,0" x:Name="RightUnFoldBtnImgChevron"
|
||
Source="/Resources/new-icons/unfold-chevron.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="14" Width="14"
|
||
RenderTransformOrigin="0.5,0.5">
|
||
<Image.RenderTransform>
|
||
<TransformGroup>
|
||
<RotateTransform Angle="180" />
|
||
</TransformGroup>
|
||
</Image.RenderTransform>
|
||
</Image>
|
||
</Border>
|
||
</ui:SimpleStackPanel>
|
||
</Viewbox>
|
||
<Viewbox Width="50" Visibility="Collapsed" Name="RightUnFoldButtonQuickPanel" Margin="0,0,-1,-150"
|
||
HorizontalAlignment="Right" VerticalAlignment="Center">
|
||
<Border ClipToBounds="True" Visibility="Visible" CornerRadius="6,0,0,6" Background="#fafafa" Opacity="1"
|
||
BorderThickness="1" BorderBrush="{DynamicResource FloatBarBorderBrush}" Width="32">
|
||
<ui:SimpleStackPanel Orientation="Vertical" Spacing="0" Margin="0,5">
|
||
<ui:SimpleStackPanel
|
||
MouseUp="SymbolIconRandOne_MouseUp"
|
||
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
|
||
Width="32" Margin="0">
|
||
<Image Source="/Resources/Icons-Fluent/ic_fluent_person_money_24_regular.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
|
||
<TextBlock Text="单次抽" Foreground="Black" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
MouseUp="SymbolIconRand_MouseUp"
|
||
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
|
||
Width="32" Margin="0">
|
||
<Image Source="/Resources/Icons-Fluent/ic_fluent_people_money_24_regular.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
|
||
<TextBlock Text="随机抽" Foreground="Black" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
|
||
MouseUp="ImageCountdownTimer_MouseUp" Background="Transparent"
|
||
Orientation="Vertical" HorizontalAlignment="Center" Width="32" Margin="0">
|
||
<Image Source="/Resources/Icons-Fluent/ic_fluent_timer_24_regular.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
|
||
<TextBlock Text="计时器" Foreground="Black" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
MouseUp="ImageBlackboard_MouseUp"
|
||
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
|
||
Width="32" Margin="0">
|
||
<Image Source="/Resources/new-icons/blackboard.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
|
||
<TextBlock Text="白板" Foreground="Black" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
MouseUp="UnFoldFloatingBar_MouseUp"
|
||
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
|
||
Width="32" Margin="0">
|
||
<Image Source="/Resources/new-icons/eye.png" RenderOptions.BitmapScalingMode="HighQuality"
|
||
Height="17" Margin="0,3,0,0" />
|
||
<TextBlock Text="显示" Foreground="Black" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
|
||
</ui:SimpleStackPanel>
|
||
<ui:SimpleStackPanel
|
||
MouseUp="HideQuickPanel_MouseUp"
|
||
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
|
||
Width="32" Margin="0">
|
||
<Image Source="/Resources/new-icons/chevron-left.png"
|
||
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,3"
|
||
RenderTransformOrigin="0.5,0.5">
|
||
<Image.RenderTransform>
|
||
<TransformGroup>
|
||
<ScaleTransform />
|
||
<SkewTransform />
|
||
<RotateTransform Angle="180" />
|
||
<TranslateTransform />
|
||
</TransformGroup>
|
||
</Image.RenderTransform>
|
||
</Image>
|
||
</ui:SimpleStackPanel>
|
||
</ui:SimpleStackPanel>
|
||
</Border>
|
||
</Viewbox>
|
||
</Grid>
|
||
</Window>
|