using System;
namespace Eugen.ESystem.Windows.Forms
{
///
/// Internal DataStructure used to represent a button
///
public class MessageBoxExButton
{
private string _text = null;
///
/// Gets or Sets the text of the button
///
public string Text
{
get{ return _text; }
set{ _text = value; }
}
private string _value = null;
///
/// Gets or Sets the return value when this button is clicked
///
public string Value
{
get{ return _value; }
set{_value = value; }
}
private string _helpText = null;
///
/// Gets or Sets the tooltip that is displayed for this button
///
public string HelpText
{
get{ return _helpText; }
set{ _helpText = value; }
}
private bool _isCancelButton = false;
///
/// Gets or Sets wether this button is a cancel button. i.e. the button
/// that will be assumed to have been clicked if the user closes the message box
/// without pressing any button.
///
public bool IsCancelButton
{
get{ return _isCancelButton; }
set{ _isCancelButton = value; }
}
}
}