Files
community/Ink Canvas/Windows/SettingsViews/Pages/DesignPage.xaml.cs
T

44 lines
1.2 KiB
C#
Raw Normal View History

2026-03-29 17:39:52 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
2026-04-05 21:50:53 +08:00
namespace Ink_Canvas.Windows.SettingsViews.Pages
2026-03-29 17:39:52 +08:00
{
2026-04-04 18:45:59 +08:00
public partial class DesignPage : Page
2026-03-29 17:39:52 +08:00
{
2026-04-04 18:45:59 +08:00
public DesignPage()
2026-03-29 17:39:52 +08:00
{
InitializeComponent();
}
private void SettingsCard_Click(object sender, RoutedEventArgs e)
{
2026-04-05 21:50:53 +08:00
SettingsWindow settingsWindow = Window.GetWindow(this) as SettingsWindow;
2026-03-29 17:39:52 +08:00
if (settingsWindow != null)
{
2026-04-04 18:45:59 +08:00
settingsWindow.NavigateToPage("IconographyPage");
2026-03-29 17:39:52 +08:00
}
}
private void SettingsCard_Click_1(object sender, RoutedEventArgs e)
{
2026-04-05 21:50:53 +08:00
SettingsWindow settingsWindow = Window.GetWindow(this) as SettingsWindow;
2026-03-29 17:39:52 +08:00
if (settingsWindow != null)
{
2026-04-04 18:45:59 +08:00
settingsWindow.NavigateToPage("TypographyPage");
2026-03-29 17:39:52 +08:00
}
}
}
}