UIStandard/UIStandard.Start/Views/DialogWindow.xaml.cs

36 lines
841 B
C#
Raw Permalink Normal View History

2025-04-11 01:24:01 +00:00
using Prism.Services.Dialogs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace UIStandard.Start.Views
{
/// <summary>
/// DialogWindow.xaml 的交互逻辑
/// </summary>
public partial class DialogWindow : Window, IDialogWindow
{
public DialogWindow()
{
InitializeComponent();
}
public IDialogResult Result { get; set; }
private void CloseBinding_Executed(object sender, ExecutedRoutedEventArgs e)
{
this.Close();
}
}
}