2026-02-21 16:51:34 +08:00
|
|
|
using Ink_Canvas.Helpers;
|
2025-10-05 09:33:25 +08:00
|
|
|
using System;
|
2025-10-06 18:29:12 +08:00
|
|
|
using System.Windows;
|
|
|
|
|
using System.Windows.Input;
|
2025-05-25 09:29:48 +08:00
|
|
|
|
|
|
|
|
namespace Ink_Canvas
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interaction logic for StopwatchWindow.xaml
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class OperatingGuideWindow : Window
|
|
|
|
|
{
|
|
|
|
|
public OperatingGuideWindow()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
2026-04-05 21:35:43 +08:00
|
|
|
RefreshTheme();
|
2025-05-25 09:29:48 +08:00
|
|
|
AnimationsHelper.ShowWithSlideFromBottomAndFade(this, 0.25);
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-07 13:30:46 +08:00
|
|
|
private void SCManipulationBoundaryFeedback(object sender, ManipulationBoundaryFeedbackEventArgs e)
|
|
|
|
|
{
|
2025-05-25 09:29:48 +08:00
|
|
|
e.Handled = true;
|
|
|
|
|
}
|
2025-10-05 09:33:25 +08:00
|
|
|
|
|
|
|
|
public void RefreshTheme()
|
|
|
|
|
{
|
|
|
|
|
try
|
|
|
|
|
{
|
2026-05-01 21:54:15 +08:00
|
|
|
ThemeHelper.ApplyTheme(this, MainWindow.Settings);
|
2025-10-05 09:33:25 +08:00
|
|
|
InvalidateVisual();
|
|
|
|
|
}
|
|
|
|
|
catch (Exception)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-05-25 09:29:48 +08:00
|
|
|
}
|
|
|
|
|
}
|