添加项目文件。
This commit is contained in:
27
GroupLine.App/View/KanBan/KanBan_PlanCountCreate.xaml.cs
Normal file
27
GroupLine.App/View/KanBan/KanBan_PlanCountCreate.xaml.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using GalaSoft.MvvmLight.Messaging;
|
||||
using System;
|
||||
using System.Windows;
|
||||
|
||||
namespace GroupLine.App.View.KanBan
|
||||
{
|
||||
/// <summary>
|
||||
/// KanBan_PlanCountCreate.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class KanBan_PlanCountCreate : Window
|
||||
{
|
||||
public KanBan_PlanCountCreate()
|
||||
{
|
||||
InitializeComponent(); WindowStartupLocation = WindowStartupLocation.CenterScreen;
|
||||
//InitializeComponent();
|
||||
|
||||
//消息标志token:ViewAlert,用于标识只阅读某个或者某些Sender发送的消息,并执行相应的处理,所以Sender那边的token要保持一致
|
||||
//执行方法Action:ShowReceiveInfo,用来执行接收到消息后的后续工作,注意这边是支持泛型能力的,所以传递参数很方便。
|
||||
Messenger.Default.Register<String>(this, "CloseCurrentWindow", CloseCurrentWindow);
|
||||
}
|
||||
|
||||
private void CloseCurrentWindow(string obj)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user