增加了初始弹窗,但是没有成功
更改了CAN和LIN协调 更改了配置程序的名称顺序
This commit is contained in:
37
CapMachine.Wpf/Services/IHostDialogAware.cs
Normal file
37
CapMachine.Wpf/Services/IHostDialogAware.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using Prism.Services.Dialogs;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Wpf.Services
|
||||
{
|
||||
/// <summary>
|
||||
/// 对话主机ViewModel基类
|
||||
/// </summary>
|
||||
public interface IHostDialogAware
|
||||
{
|
||||
/// <summary>
|
||||
/// DialogHost顶级节点
|
||||
/// </summary>
|
||||
string IdentifierName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 页面初始化前传递参数事件
|
||||
/// </summary>
|
||||
/// <param name="parameters"></param>
|
||||
/// <returns></returns>
|
||||
void OnDialogOpened(IDialogParameters parameters);
|
||||
|
||||
/// <summary>
|
||||
/// 确认
|
||||
/// </summary>
|
||||
Task Save();
|
||||
|
||||
/// <summary>
|
||||
/// 取消
|
||||
/// </summary>
|
||||
void Cancel();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user