mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
28 lines
569 B
C#
28 lines
569 B
C#
|
|
using System.ComponentModel;
|
|||
|
|
using Avalonia;
|
|||
|
|
using Avalonia.Controls;
|
|||
|
|
using Avalonia.Markup.Xaml;
|
|||
|
|
|
|||
|
|
namespace Aaru.Gui.Views
|
|||
|
|
{
|
|||
|
|
public class ConsoleWindow : Window
|
|||
|
|
{
|
|||
|
|
public ConsoleWindow()
|
|||
|
|
{
|
|||
|
|
InitializeComponent();
|
|||
|
|
#if DEBUG
|
|||
|
|
this.AttachDevTools();
|
|||
|
|
#endif
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
void InitializeComponent() => AvaloniaXamlLoader.Load(this);
|
|||
|
|
|
|||
|
|
protected override void OnClosing(CancelEventArgs e)
|
|||
|
|
{
|
|||
|
|
e.Cancel = true;
|
|||
|
|
Hide();
|
|||
|
|
|
|||
|
|
base.OnClosing(e);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|