mirror of
https://github.com/ckaczor/SystemTemperatureStatusWindow.git
synced 2026-01-13 17:23:03 -05:00
24 lines
461 B
C#
24 lines
461 B
C#
using System.Windows;
|
|
|
|
namespace SystemTemperatureStatusWindow
|
|
{
|
|
public partial class App
|
|
{
|
|
private WindowSource _windowSource;
|
|
|
|
protected override void OnStartup(StartupEventArgs e)
|
|
{
|
|
base.OnStartup(e);
|
|
|
|
_windowSource = new WindowSource();
|
|
}
|
|
|
|
protected override void OnExit(ExitEventArgs e)
|
|
{
|
|
_windowSource.Dispose();
|
|
|
|
base.OnExit(e);
|
|
}
|
|
}
|
|
}
|