2026-06-28 02:43:22 +08:00
|
|
|
<Window x:Class="BetterEN5.UI.BetterSeewoMainWindow"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
Title="Better-Seewo"
|
2026-06-28 03:17:55 +08:00
|
|
|
Width="960" Height="580"
|
|
|
|
|
MinWidth="800" MinHeight="480"
|
|
|
|
|
WindowStyle="None" ResizeMode="CanResize"
|
|
|
|
|
AllowsTransparency="True" Background="Transparent"
|
2026-06-28 02:43:22 +08:00
|
|
|
WindowStartupLocation="CenterScreen"
|
|
|
|
|
FontSize="14">
|
|
|
|
|
<Window.Resources>
|
2026-06-28 03:17:55 +08:00
|
|
|
<Color x:Key="Bg">#0F0F1A</Color>
|
|
|
|
|
<Color x:Key="CardBg">#1A1A2E</Color>
|
|
|
|
|
<Color x:Key="Accent">#60B0FF</Color>
|
|
|
|
|
<Color x:Key="Fg">#D0D0E0</Color>
|
|
|
|
|
<Color x:Key="SubFg">#707090</Color>
|
|
|
|
|
<SolidColorBrush x:Key="BorderBrush" Color="#25FFFFFF"/>
|
|
|
|
|
<QuadraticEase x:Key="EaseOut" EasingMode="EaseOut"/>
|
2026-06-28 02:43:22 +08:00
|
|
|
</Window.Resources>
|
|
|
|
|
|
|
|
|
|
<Window.RenderTransform>
|
|
|
|
|
<ScaleTransform ScaleX="1" ScaleY="1"/>
|
|
|
|
|
</Window.RenderTransform>
|
|
|
|
|
|
2026-06-28 03:17:55 +08:00
|
|
|
<Border CornerRadius="12" Background="#0F0F1A" BorderBrush="{StaticResource BorderBrush}"
|
|
|
|
|
BorderThickness="1">
|
2026-06-28 02:43:22 +08:00
|
|
|
<Border.Effect>
|
|
|
|
|
<DropShadowEffect BlurRadius="24" ShadowDepth="4" Opacity="0.3" Color="Black"/>
|
|
|
|
|
</Border.Effect>
|
|
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
2026-06-28 03:17:55 +08:00
|
|
|
<RowDefinition Height="34"/>
|
2026-06-28 02:43:22 +08:00
|
|
|
<RowDefinition Height="*"/>
|
2026-06-28 03:17:55 +08:00
|
|
|
<RowDefinition Height="26"/>
|
2026-06-28 02:43:22 +08:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
2026-06-28 03:17:55 +08:00
|
|
|
<!-- Title Bar -->
|
|
|
|
|
<Border Grid.Row="0" Background="#1A1A2E" CornerRadius="12,12,0,0">
|
2026-06-28 02:43:22 +08:00
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
2026-06-28 03:17:55 +08:00
|
|
|
<StackPanel Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" Margin="12,0">
|
|
|
|
|
<TextBlock Text="✦" FontSize="12" Foreground="#60B0FF" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text=" Better-Seewo" FontSize="13" Foreground="#C0C0D0" VerticalAlignment="Center"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Grid.Column="1" Orientation="Horizontal">
|
|
|
|
|
<Button x:Name="MinBtn" Content="─" Width="28" Height="22"
|
2026-06-28 02:43:22 +08:00
|
|
|
Background="Transparent" BorderThickness="0"
|
2026-06-28 03:17:55 +08:00
|
|
|
Foreground="{StaticResource SubFg}" FontSize="12"
|
|
|
|
|
Cursor="Hand" Click="Minimize_Click"/>
|
|
|
|
|
<Button x:Name="MaxBtn" Content="□" Width="28" Height="22"
|
2026-06-28 02:43:22 +08:00
|
|
|
Background="Transparent" BorderThickness="0"
|
2026-06-28 03:17:55 +08:00
|
|
|
Foreground="{StaticResource SubFg}" FontSize="12"
|
|
|
|
|
Cursor="Hand" Click="Maximize_Click"/>
|
|
|
|
|
<Button x:Name="CloseBtn" Content="✕" Width="28" Height="22"
|
2026-06-28 02:43:22 +08:00
|
|
|
Background="Transparent" BorderThickness="0"
|
2026-06-28 03:17:55 +08:00
|
|
|
Foreground="{StaticResource SubFg}" FontSize="12"
|
|
|
|
|
Cursor="Hand" Click="Close_Click"/>
|
2026-06-28 02:43:22 +08:00
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
|
2026-06-28 03:17:55 +08:00
|
|
|
<!-- Content -->
|
|
|
|
|
<Grid Grid.Row="1" Margin="0">
|
2026-06-28 02:43:22 +08:00
|
|
|
<Grid.ColumnDefinitions>
|
2026-06-28 03:17:55 +08:00
|
|
|
<ColumnDefinition Width="200"/>
|
|
|
|
|
<ColumnDefinition Width="1"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
2026-06-28 02:43:22 +08:00
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
2026-06-28 03:17:55 +08:00
|
|
|
<!-- Sidebar -->
|
2026-06-28 02:43:22 +08:00
|
|
|
<Border Grid.Column="0" Background="#12121E">
|
2026-06-28 03:17:55 +08:00
|
|
|
<StackPanel Margin="0,8">
|
|
|
|
|
<TextBlock Text="功能模块" FontSize="11" Foreground="{StaticResource SubFg}"
|
|
|
|
|
Margin="16,8,16,4"/>
|
|
|
|
|
<RadioButton x:Name="NavInk" GroupName="Nav" IsChecked="True"
|
|
|
|
|
Content=" 墨迹管理" Foreground="{StaticResource Fg}"
|
|
|
|
|
Background="Transparent" BorderThickness="0"
|
|
|
|
|
Cursor="Hand" Height="36" Padding="16,0"
|
|
|
|
|
Checked="NavChanged"/>
|
|
|
|
|
<RadioButton x:Name="NavConvert" GroupName="Nav"
|
|
|
|
|
Content=" 文件转换" Foreground="{StaticResource Fg}"
|
|
|
|
|
Background="Transparent" BorderThickness="0"
|
|
|
|
|
Cursor="Hand" Height="36" Padding="16,0"
|
|
|
|
|
Checked="NavChanged"/>
|
|
|
|
|
<RadioButton x:Name="NavTouch" GroupName="Nav"
|
|
|
|
|
Content=" 触摸修复" Foreground="{StaticResource Fg}"
|
|
|
|
|
Background="Transparent" BorderThickness="0"
|
|
|
|
|
Cursor="Hand" Height="36" Padding="16,0"
|
|
|
|
|
Checked="NavChanged"/>
|
|
|
|
|
<RadioButton x:Name="NavBoard" GroupName="Nav"
|
|
|
|
|
Content=" 大屏支持" Foreground="{StaticResource Fg}"
|
|
|
|
|
Background="Transparent" BorderThickness="0"
|
|
|
|
|
Cursor="Hand" Height="36" Padding="16,0"
|
|
|
|
|
Checked="NavChanged"/>
|
|
|
|
|
<RadioButton x:Name="NavActivate" GroupName="Nav"
|
|
|
|
|
Content=" 激活" Foreground="{StaticResource Fg}"
|
|
|
|
|
Background="Transparent" BorderThickness="0"
|
|
|
|
|
Cursor="Hand" Height="36" Padding="16,0"
|
|
|
|
|
Checked="NavChanged"/>
|
|
|
|
|
</StackPanel>
|
2026-06-28 02:43:22 +08:00
|
|
|
</Border>
|
|
|
|
|
|
2026-06-28 03:17:55 +08:00
|
|
|
<!-- Divider -->
|
|
|
|
|
<Rectangle Grid.Column="1" Fill="#252540" Width="1" Opacity="0.5"/>
|
2026-06-28 02:43:22 +08:00
|
|
|
|
2026-06-28 03:17:55 +08:00
|
|
|
<!-- Content Area -->
|
|
|
|
|
<ScrollViewer Grid.Column="2" VerticalScrollBarVisibility="Auto"
|
|
|
|
|
Background="#0D0D18" Padding="24,16">
|
|
|
|
|
<StackPanel x:Name="ContentPanel">
|
|
|
|
|
<!-- Ink Module -->
|
|
|
|
|
<StackPanel x:Name="PanelInk" Visibility="Visible">
|
|
|
|
|
<TextBlock Text="墨迹管理" FontSize="20" FontWeight="SemiBold"
|
|
|
|
|
Foreground="#60B0FF" Margin="0,0,0,16"/>
|
|
|
|
|
<TextBlock Text="导出/导入希沃白板课件中的笔迹和标注" FontSize="13"
|
|
|
|
|
Foreground="{StaticResource SubFg}" Margin="0,0,0,16"/>
|
|
|
|
|
<Button Content="导出墨迹..." Width="180" Height="34" Margin="0,0,0,8" Cursor="Hand" Click="ExportInk_Click"/>
|
|
|
|
|
<Button Content="导入墨迹..." Width="180" Height="34" Margin="0,0,8,8" Cursor="Hand" Click="ImportInk_Click"/>
|
|
|
|
|
<TextBlock x:Name="InkStatus" FontSize="12" Foreground="{StaticResource SubFg}" Margin="0,8,0,0"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- Convert Module -->
|
|
|
|
|
<StackPanel x:Name="PanelConvert" Visibility="Collapsed">
|
|
|
|
|
<TextBlock Text="文件转换" FontSize="20" FontWeight="SemiBold"
|
|
|
|
|
Foreground="#60B0FF" Margin="0,0,0,16"/>
|
|
|
|
|
<TextBlock Text="PPT 与 ENBX 格式互转" FontSize="13"
|
|
|
|
|
Foreground="{StaticResource SubFg}" Margin="0,0,0,16"/>
|
|
|
|
|
<Button Content="PPT → ENBX" Width="180" Height="34" Margin="0,0,0,8" Cursor="Hand" Click="ConvertPptx_Click"/>
|
|
|
|
|
<Button Content="ENBX → PPT" Width="180" Height="34" Margin="0,0,0,8" Cursor="Hand" Click="ConvertEnbx_Click"/>
|
|
|
|
|
<TextBlock x:Name="ConvertStatus" FontSize="12" Foreground="{StaticResource SubFg}" Margin="0,8,0,0"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- Touch Module -->
|
|
|
|
|
<StackPanel x:Name="PanelTouch" Visibility="Collapsed">
|
|
|
|
|
<TextBlock Text="触摸修复" FontSize="20" FontWeight="SemiBold"
|
|
|
|
|
Foreground="#60B0FF" Margin="0,0,0,16"/>
|
|
|
|
|
<TextBlock Text="修复希沃白板在非希沃硬件上的触摸检测问题" FontSize="13"
|
|
|
|
|
Foreground="{StaticResource SubFg}" Margin="0,0,0,16"/>
|
|
|
|
|
<Button Content="检测触摸状态" Width="180" Height="34" Margin="0,0,0,8" Cursor="Hand" Click="CheckTouch_Click"/>
|
|
|
|
|
<Button Content="应用修复" Width="180" Height="34" Margin="0,0,0,8" Cursor="Hand" Click="ApplyTouchFix_Click"/>
|
|
|
|
|
<TextBlock x:Name="TouchStatus" FontSize="12" Foreground="{StaticResource SubFg}" Margin="0,8,0,0"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- Board Module -->
|
|
|
|
|
<StackPanel x:Name="PanelBoard" Visibility="Collapsed">
|
|
|
|
|
<TextBlock Text="大屏支持" FontSize="20" FontWeight="SemiBold"
|
|
|
|
|
Foreground="#60B0FF" Margin="0,0,0,16"/>
|
|
|
|
|
<TextBlock Text="为非触摸大屏启用完整白板模式" FontSize="13"
|
|
|
|
|
Foreground="{StaticResource SubFg}" Margin="0,0,0,16"/>
|
|
|
|
|
<Button Content="配置大屏模式" Width="180" Height="34" Margin="0,0,0,8" Cursor="Hand" Click="EnableBoardSupport_Click"/>
|
|
|
|
|
<Button Content="启用 IWB 模式" Width="180" Height="34" Margin="0,0,0,8" Cursor="Hand" Click="EnableIWB_Click"/>
|
|
|
|
|
<TextBlock x:Name="BoardStatus" FontSize="12" Foreground="{StaticResource SubFg}" Margin="0,8,0,0"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- Activate Module -->
|
|
|
|
|
<StackPanel x:Name="PanelActivate" Visibility="Collapsed">
|
|
|
|
|
<TextBlock Text="专业版激活" FontSize="20" FontWeight="SemiBold"
|
|
|
|
|
Foreground="#60B0FF" Margin="0,0,0,16"/>
|
|
|
|
|
<TextBlock x:Name="ActivationStatusText" Text="当前状态: 社区版" FontSize="13"
|
|
|
|
|
Foreground="{StaticResource SubFg}" Margin="0,0,0,16"/>
|
|
|
|
|
<Button Content="输入激活码..." Width="180" Height="34" Margin="0,0,0,8" Cursor="Hand" Click="ActivatePro_Click"/>
|
|
|
|
|
<Button Content="打开注册补丁..." Width="180" Height="34" Margin="0,0,0,8" Cursor="Hand" Click="LaunchInstaller_Click"/>
|
|
|
|
|
<Button Content="检测激活状态" Width="180" Height="34" Margin="0,0,0,8" Cursor="Hand" Click="CheckActivation_Click"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</ScrollViewer>
|
2026-06-28 02:43:22 +08:00
|
|
|
</Grid>
|
|
|
|
|
|
2026-06-28 03:17:55 +08:00
|
|
|
<!-- Footer -->
|
|
|
|
|
<Border Grid.Row="2" Background="#1A1A2E" CornerRadius="0,0,12,12">
|
|
|
|
|
<TextBlock Text="雾启工作室 · 雾生万象,启以为光" FontSize="11"
|
|
|
|
|
Foreground="#404058" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
2026-06-28 02:43:22 +08:00
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
</Window>
|