18 lines
397 B
C#
18 lines
397 B
C#
using Avalonia.Controls;
|
|
using CommunityToolkit.Mvvm.Messaging;
|
|
using GazpromApp.Messages;
|
|
|
|
namespace GazpromApp.Views;
|
|
|
|
public partial class NewPointDialog : Window
|
|
{
|
|
public NewPointDialog()
|
|
{
|
|
InitializeComponent();
|
|
|
|
WeakReferenceMessenger.Default.Register<NewPointDialog, NewPointDone>(this, static (w, m) =>
|
|
{
|
|
w.Close(m.Point);
|
|
});
|
|
}
|
|
} |