添加 MX-PD-盘古 项目文件
将 MX-PD-盘古 - new 目录下的所有文件添加到主仓库
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System.Windows;
|
||||
using MainShell.Common.ViewModel;
|
||||
|
||||
namespace MainShell.Common.View
|
||||
{
|
||||
public partial class MwMessageBoxWindow : Window
|
||||
{
|
||||
public MwMessageBoxWindow(MwMessageBoxWindowViewModel viewModel)
|
||||
{
|
||||
InitializeComponent();
|
||||
DataContext = viewModel ?? throw new System.ArgumentNullException(nameof(viewModel));
|
||||
CloseButton.Content = "\u00D7";
|
||||
}
|
||||
|
||||
private void OnCloseButtonClick(object sender, System.Windows.RoutedEventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user