添加项目文件。
This commit is contained in:
55
GroupLine.App/View/KanBan/KanBanIndex.xaml.cs
Normal file
55
GroupLine.App/View/KanBan/KanBanIndex.xaml.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
using GalaSoft.MvvmLight.Messaging;
|
||||
using System;
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace GroupLine.App.View.KanBan
|
||||
{
|
||||
/// <summary>
|
||||
/// KanBanIndex.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class KanBanIndex : UserControl
|
||||
{
|
||||
public KanBanIndex()
|
||||
{
|
||||
InitializeComponent();
|
||||
//打开OpenUpdateWindow
|
||||
Messenger.Default.Register<String>(this, "Open_KanBan_WorkTimeCreate_CreateWindow", OpenCreateWindow);
|
||||
Messenger.Default.Register<String>(this, "Open_KanBan_WorkTimeUpdate_UpdateWindow", OpenUpdateWindow);
|
||||
|
||||
Messenger.Default.Register<String>(this, "Open_KanBan_PlanCountCreate_CreateWindow", OpenPlanCountCreateWindow);
|
||||
Messenger.Default.Register<String>(this, "Open_KanBan_PlanCountUpdate_UpdateWindow", OpenPlanCountUpdateWindow);
|
||||
}
|
||||
|
||||
private void OpenPlanCountUpdateWindow(string obj)
|
||||
{
|
||||
KanBan_PlanCountUpdate update = new KanBan_PlanCountUpdate();
|
||||
update.ShowDialog();
|
||||
}
|
||||
|
||||
private void OpenPlanCountCreateWindow(string obj)
|
||||
{
|
||||
KanBan_PlanCountCreate create = new KanBan_PlanCountCreate();
|
||||
create.ShowDialog();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 打开窗体
|
||||
/// </summary>
|
||||
/// <param name="obj"></param>
|
||||
private void OpenCreateWindow(string obj)
|
||||
{
|
||||
KanBan_Create create = new KanBan_Create();
|
||||
create.ShowDialog();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新窗体
|
||||
/// </summary>
|
||||
/// <param name="obj"></param>
|
||||
private void OpenUpdateWindow(string obj)
|
||||
{
|
||||
KanBan_Update update = new KanBan_Update();
|
||||
update.ShowDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user