feat: extract common button style.

This commit is contained in:
rabbitism
2024-01-23 19:55:23 +08:00
parent 7c29320ad9
commit 61ebba897b
9 changed files with 137 additions and 49 deletions

View File

@@ -0,0 +1,11 @@
namespace Ursa.Common;
public enum DialogButton
{
None,
OK,
OKCancel,
YesNo,
YesNoCancel,
}

View File

@@ -0,0 +1,15 @@
namespace Ursa.Common;
public enum DialogIcon
{
Asterisk, // Same as Information
Error,
Exclamation, // Same as Warning
Hand, // Same as Error
Information,
None,
Question,
Stop, // Same as Error
Warning,
Success,
}

View File

@@ -0,0 +1,10 @@
namespace Ursa.Common;
public enum DialogResult
{
Cancel,
No,
None,
OK,
Yes,
}