- Add VCP commands for brightness (10), contrast (12), input source (60) - Fix UTF-16 encoding for monitor data parsing - Add system tray app with monitor controls - Add localization for en, es, fr, de, zh, ja, pt, it, hi - Update to .NET 9.0 - Add LICENSE and README 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
33 lines
841 B
C#
33 lines
841 B
C#
using CMM.Language;
|
|
using CMM.Library.Config;
|
|
using CMM.Library.Method;
|
|
using System.Threading.Tasks;
|
|
using System.Windows;
|
|
|
|
namespace CMM.Management
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for App.xaml
|
|
/// </summary>
|
|
public partial class App : Application
|
|
{
|
|
internal static XConfig cfg { get; private set; }
|
|
internal static CMMMgr CMMMgr { get; private set; }
|
|
private readonly CulturesHelper _culturesHelper = new();
|
|
|
|
public App()
|
|
{
|
|
//cfg = new();
|
|
//cfg.Load();
|
|
CMMMgr = new CMMMgr();
|
|
Startup += async (s, e) => await App_Startup(s, e);
|
|
}
|
|
|
|
private async Task App_Startup(object sender, StartupEventArgs e)
|
|
{
|
|
_culturesHelper.ApplySystemLanguage();
|
|
await CMMMgr.Init();
|
|
}
|
|
}
|
|
}
|