mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 21:15:38 +02:00
2. Abstracting processor and winapi logic into common dll and entry points into separate dlls 3. Adding icons 4. Switching build platform to AnyCPU. Seems to work on x64, don't have a x86 platform to test on
23 lines
485 B
C#
23 lines
485 B
C#
using System.Windows;
|
|
|
|
namespace Ninjacrab.PersistentWindows.WpfShell
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for MainWindow.xaml
|
|
/// </summary>
|
|
public partial class MainWindow : Window
|
|
{
|
|
public bool IsClosed { get; set; }
|
|
|
|
public MainWindow()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
protected override void OnClosed(System.EventArgs e)
|
|
{
|
|
base.OnClosed(e);
|
|
IsClosed = true;
|
|
}
|
|
}
|
|
}
|