17 lines
406 B
C#
17 lines
406 B
C#
namespace InspectionUI
|
|
{
|
|
using System;
|
|
using System.IO;
|
|
using System.Windows;
|
|
|
|
public partial class App : Application
|
|
{
|
|
public static readonly string CurrentDirectory = new FileInfo(typeof(App).Assembly.Location).DirectoryName;
|
|
|
|
internal static event Action Exiting;
|
|
|
|
protected override void OnExit(ExitEventArgs e)
|
|
=> Exiting?.Invoke();
|
|
}
|
|
}
|