mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-01-17 12:52:05 +01:00
21 lines
385 B
C#
21 lines
385 B
C#
|
|
using System;
|
|||
|
|
|
|||
|
|
namespace ChanSort.View
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
public interface IActionBoxDialog : IDisposable
|
|||
|
|
{
|
|||
|
|
string Message { get; set; }
|
|||
|
|
void AddAction(string text, int result);
|
|||
|
|
int SelectedAction { get; }
|
|||
|
|
void ShowDialog();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public class View
|
|||
|
|
{
|
|||
|
|
public static View Default { get; set; }
|
|||
|
|
|
|||
|
|
public Func<string, IActionBoxDialog> CreateActionBox { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|