初始提交:WinUI 3 一键运行轮盘工具

This commit is contained in:
2026-08-30 01:37:56 +08:00
commit 83011e5d29
58 changed files with 4373 additions and 0 deletions
@@ -0,0 +1,24 @@
<UserControl
x:Class="OneClickRun.App.Controls.WheelView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid Width="560" Height="560" Background="Transparent"
PointerMoved="OnPointerMoved"
PointerPressed="OnPointerPressed"
PointerReleased="OnPointerReleased"
PointerExited="OnPointerExited"
PointerCanceled="OnPointerExited">
<Canvas x:Name="LayerCanvas" />
<Ellipse Width="152" Height="152" HorizontalAlignment="Center" VerticalAlignment="Center"
Fill="{ThemeResource WheelCenterBrush}"
Stroke="{ThemeResource WheelCenterBorderBrush}"
StrokeThickness="1.5" />
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Spacing="4">
<TextBlock x:Name="CenterTitle" Text="一键运行" FontSize="17" FontWeight="SemiBold"
Foreground="{ThemeResource WheelCenterTextBrush}" HorizontalAlignment="Center" />
<TextBlock x:Name="CenterHint" Text="" FontSize="12" Opacity="0.65"
Foreground="{ThemeResource WheelCenterTextBrush}" HorizontalAlignment="Center"
MaxWidth="132" TextWrapping="Wrap" TextAlignment="Center" />
</StackPanel>
</Grid>
</UserControl>