This commit is contained in:
GG Z
2025-07-31 20:12:24 +08:00
parent 4f6cd2137c
commit f209e7d3ad
426 changed files with 15854 additions and 6612 deletions

View File

@@ -0,0 +1,38 @@
using System.Windows;
using System.Windows.Controls;
using NeuWPF.Appearance;
namespace NeuWPFTest
{
/// <summary>
/// MainWindow.xaml 的交互逻辑
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
private void TabControl_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
if(!_loaded ) return;
TextMessage.Text = "选项变化" + e.OriginalSource;
}
private bool _loaded = false;
private void Window_Loaded(object sender, RoutedEventArgs e)
{
_loaded = true;
}
private void Switch_OnClick(object sender, RoutedEventArgs e)
{
ThemeManager.SwitchThemeMode();
}
private void Test_OnClick(object sender, RoutedEventArgs e)
{
new ControlTestWindow().Show();
}
}
}