26 lines
499 B
C#
26 lines
499 B
C#
using System;
|
|
using Avalonia;
|
|
using Avalonia.Controls;
|
|
using Avalonia.Markup.Xaml;
|
|
|
|
namespace GazpromApp.Views;
|
|
|
|
public partial class SaveChangesView : Window
|
|
{
|
|
public bool CanClose = false;
|
|
public SaveChangesView()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void Window_OnClosing(object? sender, WindowClosingEventArgs e)
|
|
{
|
|
if (CanClose) return;
|
|
e.Cancel = true;
|
|
}
|
|
|
|
private void Window_OnClosed(object? sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
} |