21 lines
651 B
C#
21 lines
651 B
C#
|
|
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>();
|
||
|
|
}
|
||
|
|
}
|