MyNes_src/MyNes/MMB/ManagedMessageBoxResult.cs
2024-07-03 18:15:19 +08:00

24 lines
505 B
C#

namespace MMB;
public struct ManagedMessageBoxResult
{
private bool isChecked;
private string clickedButton;
private int clickedButtonIndex;
public bool Checked => isChecked;
public string ClickedButton => clickedButton;
public int ClickedButtonIndex => clickedButtonIndex;
public ManagedMessageBoxResult(string clickedButton, int clickedButtonIndex, bool isChecked)
{
this.clickedButton = clickedButton;
this.isChecked = isChecked;
this.clickedButtonIndex = clickedButtonIndex;
}
}