refactor(设置): 清理并重构设置页面代码
删除未使用的设置页面文件,包括外观、设计、字体、主题等页面 简化主页导航逻辑,移除动态生成导航项代码 更新导航菜单项图标和跳转逻辑 优化页面布局和代码结构
This commit is contained in:
@@ -1,40 +0,0 @@
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace Ink_Canvas.Windows.SettingsViews.Pages
|
||||
{
|
||||
public partial class AppearancePage : Page
|
||||
{
|
||||
public AppearancePage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void SettingsCard_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
SettingsWindow settingsWindow = Window.GetWindow(this) as SettingsWindow;
|
||||
if (settingsWindow != null)
|
||||
{
|
||||
settingsWindow.NavigateToPage("ThemePage");
|
||||
}
|
||||
}
|
||||
|
||||
private void SettingsCard_Click_1(object sender, RoutedEventArgs e)
|
||||
{
|
||||
SettingsWindow settingsWindow = Window.GetWindow(this) as SettingsWindow;
|
||||
if (settingsWindow != null)
|
||||
{
|
||||
settingsWindow.NavigateToPage("ColorsPage");
|
||||
}
|
||||
}
|
||||
|
||||
private void SettingsCard_Click_2(object sender, RoutedEventArgs e)
|
||||
{
|
||||
SettingsWindow settingsWindow = Window.GetWindow(this) as SettingsWindow;
|
||||
if (settingsWindow != null)
|
||||
{
|
||||
settingsWindow.NavigateToPage("FontsPage");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user