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; } }