添加项目文件。

This commit is contained in:
GG Z
2026-02-23 17:02:55 +08:00
parent a5a8cdf79e
commit 7609f67a2b
166 changed files with 353566 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
using System.Configuration;
using System.Windows.Controls;
namespace MetroGauges.Controls
{
/// <summary>
/// PaletteSelector.xaml 的交互逻辑
/// </summary>
public partial class PaletteSelector : UserControl
{
public PaletteSelector()
{
InitializeComponent();
var x = ConfigurationManager.AppSettings["Intensity"];
if (x == "Dark")
{
Intensity.IsChecked = true;
}
if (x == "Light")
{
Intensity.IsChecked = false;
}
}
}
}