2023-12-22 00:14:15 +08:00
|
|
|
|
using Ink_Canvas.Helpers;
|
|
|
|
|
using System.Windows;
|
|
|
|
|
using System.Windows.Input;
|
|
|
|
|
|
|
|
|
|
namespace Ink_Canvas
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interaction logic for StopwatchWindow.xaml
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class OperatingGuideWindow : Window
|
|
|
|
|
{
|
|
|
|
|
public OperatingGuideWindow()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
2024-03-08 13:53:21 +08:00
|
|
|
|
AnimationsHelper.ShowWithSlideFromBottomAndFade(this, 0.25);
|
2023-12-22 00:14:15 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BtnClose_MouseUp(object sender, MouseButtonEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
Close();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void WindowDragMove(object sender, MouseEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
if (e.LeftButton == MouseButtonState.Pressed) DragMove();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BtnFullscreen_MouseUp(object sender, MouseButtonEventArgs e) {
|
|
|
|
|
if (WindowState == WindowState.Normal) {
|
|
|
|
|
WindowState = WindowState.Maximized;
|
2024-03-08 13:53:21 +08:00
|
|
|
|
SymbolIconFullscreen.Symbol = iNKORE.UI.WPF.Modern.Controls.Symbol.BackToWindow;
|
2023-12-22 00:14:15 +08:00
|
|
|
|
} else {
|
|
|
|
|
WindowState = WindowState.Normal;
|
2024-03-08 13:53:21 +08:00
|
|
|
|
SymbolIconFullscreen.Symbol = iNKORE.UI.WPF.Modern.Controls.Symbol.FullScreen;
|
2023-12-22 00:14:15 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void SCManipulationBoundaryFeedback(object sender, ManipulationBoundaryFeedbackEventArgs e) {
|
|
|
|
|
e.Handled = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|