增加了初始弹窗,但是没有成功
更改了CAN和LIN协调 更改了配置程序的名称顺序
This commit is contained in:
31
CapMachine.Wpf/Services/IHostDialogService.cs
Normal file
31
CapMachine.Wpf/Services/IHostDialogService.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
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>
|
||||
/// 对话主机服务接口
|
||||
/// </summary>
|
||||
public interface IHostDialogService : IDialogService
|
||||
{
|
||||
/// <summary>
|
||||
/// 显示Dialog
|
||||
/// </summary>
|
||||
/// <param name="name"></param>
|
||||
/// <param name="parameters"></param>
|
||||
/// <param name="IdentifierName"></param>
|
||||
/// <returns></returns>
|
||||
Task<IDialogResult> ShowDialogAsync(
|
||||
string name,
|
||||
IDialogParameters parameters = null,
|
||||
string IdentifierName = "Root");
|
||||
|
||||
IDialogResult ShowWindow(string name);
|
||||
|
||||
void Close(string IdentifierName, DialogResult dialogResult);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user