2020-04-11 03:05:21 +01:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
using Avalonia;
|
|
|
|
|
|
using Avalonia.Controls;
|
|
|
|
|
|
using Avalonia.Markup.Xaml;
|
|
|
|
|
|
|
2020-04-16 20:40:25 +01:00
|
|
|
|
namespace Aaru.Gui.Views.Dialogs
|
2020-04-11 03:05:21 +01:00
|
|
|
|
{
|
2020-04-16 21:29:40 +01:00
|
|
|
|
public class Console : Window
|
2020-04-11 03:05:21 +01:00
|
|
|
|
{
|
2020-04-16 21:29:40 +01:00
|
|
|
|
public Console()
|
2020-04-11 03:05:21 +01:00
|
|
|
|
{
|
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
#if DEBUG
|
|
|
|
|
|
this.AttachDevTools();
|
|
|
|
|
|
#endif
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void InitializeComponent() => AvaloniaXamlLoader.Load(this);
|
|
|
|
|
|
|
|
|
|
|
|
protected override void OnClosing(CancelEventArgs e)
|
|
|
|
|
|
{
|
|
|
|
|
|
e.Cancel = true;
|
|
|
|
|
|
Hide();
|
|
|
|
|
|
|
|
|
|
|
|
base.OnClosing(e);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|