first commit
This commit is contained in:
20
Presentation/IUserDialogService.cs
Normal file
20
Presentation/IUserDialogService.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
using DCIT.Core.Models;
|
||||
|
||||
namespace DCIT.App.Presentation
|
||||
{
|
||||
public interface IUserDialogService
|
||||
{
|
||||
DialogResult ShowMessage(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon);
|
||||
|
||||
AutoExtractPreviewResult ShowAutoExtractPreview(IWin32Window owner, IList<ExtractionCandidate> candidates);
|
||||
}
|
||||
|
||||
public sealed class AutoExtractPreviewResult
|
||||
{
|
||||
public DialogResult DialogResult { get; set; }
|
||||
|
||||
public IList<ExtractionCandidate> SelectedCandidates { get; set; } = new List<ExtractionCandidate>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user