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