Download src/ScreenGrab/ScreenGrabView.xaml from dlxjj/imradv3: direct link, hf CLI and curl.
- Browser
- Download file 4.1 kB
-
https://huggingface.co/datasets/dlxjj/imradv3/resolve/main/src/ScreenGrab/ScreenGrabView.xaml
- Command line
-
hf download hf://datasets/dlxjj/imradv3/src/ScreenGrab/ScreenGrabView.xaml
-
curl -L -o ScreenGrabView.xaml https://huggingface.co/datasets/dlxjj/imradv3/resolve/main/src/ScreenGrab/ScreenGrabView.xaml
4.1 kB
| <Window | |
| x:Class="ScreenGrab.ScreenGrabView" | |
| 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:local="clr-namespace:ScreenGrab" | |
| xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
| Title="ScreenGrab" | |
| Width="800" | |
| Height="450" | |
| AllowsTransparency="True" | |
| Background="Transparent" | |
| Closed="Window_Closed" | |
| Loaded="Window_Loaded" | |
| ResizeMode="NoResize" | |
| ShowInTaskbar="False" | |
| Topmost="True" | |
| Unloaded="Window_Unloaded" | |
| WindowStyle="None" | |
| mc:Ignorable="d"> | |
| <Grid d:Background="NavajoWhite"> | |
| <Viewbox> | |
| <Image x:Name="BackgroundImage" Stretch="UniformToFill" /> | |
| </Viewbox> | |
| <Canvas | |
| x:Name="RegionClickCanvas" | |
| Cursor="Cross" | |
| MouseDown="RegionClickCanvas_MouseDown" | |
| MouseEnter="RegionClickCanvas_MouseEnter" | |
| MouseLeave="RegionClickCanvas_MouseLeave" | |
| MouseMove="RegionClickCanvas_MouseMove" | |
| MouseUp="RegionClickCanvas_MouseUp"> | |
| <Canvas.Clip> | |
| <CombinedGeometry GeometryCombineMode="Exclude"> | |
| <CombinedGeometry.Geometry1> | |
| <RectangleGeometry x:Name="FullWindow" /> | |
| </CombinedGeometry.Geometry1> | |
| <CombinedGeometry.Geometry2> | |
| <RectangleGeometry x:Name="ClippingGeometry" /> | |
| </CombinedGeometry.Geometry2> | |
| </CombinedGeometry> | |
| </Canvas.Clip> | |
| <Canvas.Background> | |
| <SolidColorBrush | |
| x:Name="BackgroundBrush" | |
| Opacity="0" | |
| Color="#FF202020" /> | |
| </Canvas.Background> | |
| <!-- Horizontal Line --> | |
| <Line | |
| x:Name="HorizontalLine" | |
| Stroke="#92caf4" | |
| StrokeThickness="1" | |
| Visibility="Collapsed" /> | |
| <!-- Vertical Line --> | |
| <Line | |
| x:Name="VerticalLine" | |
| Stroke="#92caf4" | |
| StrokeThickness="1" | |
| Visibility="Collapsed" /> | |
| </Canvas> | |
| <Border | |
| x:Name="PromptMsg" | |
| Margin="15" | |
| HorizontalAlignment="Left" | |
| VerticalAlignment="Bottom" | |
| Background="#424242" | |
| BorderBrush="WhiteSmoke" | |
| BorderThickness=".6" | |
| Opacity="0.9" | |
| Visibility="Collapsed"> | |
| <local:AutoGrid | |
| ChildMargin="3" | |
| ChildVerticalAlignment="Center" | |
| Columns="*, *" | |
| RowCount="3" | |
| RowHeight="30"> | |
| <Grid.Resources> | |
| <Style TargetType="StackPanel"> | |
| <Setter Property="Orientation" Value="Horizontal" /> | |
| <Setter Property="HorizontalAlignment" Value="Right" /> | |
| </Style> | |
| <Style TargetType="TextBlock"> | |
| <Setter Property="Foreground" Value="White" /> | |
| <Setter Property="FontSize" Value="16" /> | |
| <Setter Property="HorizontalAlignment" Value="Left" /> | |
| </Style> | |
| </Grid.Resources> | |
| <StackPanel> | |
| <local:UcCharacter DisplayChar="Shift" /> | |
| <local:UcCharacter DisplayChar="🖱" /> | |
| </StackPanel> | |
| <TextBlock Text="移动选区" /> | |
| <StackPanel> | |
| <local:UcCharacter DisplayChar="F" /> | |
| </StackPanel> | |
| <TextBlock x:Name="FreezeTb" Text="取消冻结窗口" /> | |
| <StackPanel> | |
| <local:UcCharacter DisplayChar="O" /> | |
| </StackPanel> | |
| <TextBlock x:Name="OCRTYPE" Text="文字识别" /> | |
| </local:AutoGrid> | |
| </Border> | |
| </Grid> | |
| </Window> |