Files
mono/mcs/class/System.Windows.Forms/Gtk/DialogResult.cs
T
Rachel Hestilow a6875fd9d3 2002-06-30 Rachel Hestilow <[email protected]>
* Button.cs, ButtonBase.cs, ControlEventArgs.cs,
	ControlEventHandler.cs, DialogResult.cs,
	IButtonControl.cs, IContainerControl.cs:
	Copied over from stubs directory. Preliminary implementation.

	* Control.cs: Implement ControlCollection, TextChanged,
	Controls, CreateControlsInstance, ControlAdded, ControlRemoved,
	ControlLocationChanged, OnControlAdded, OnControlRemoved,
	Location, LocationChanged, OnLocationChanged, Click, OnClick,
	and Anchor.
	(Show): s/EmitShow/Show
	(CreateWidget): Create a Gtk.Layout.
	(Text): Call OnTextChanged.

	* Form.cs (CreateWidget): Add base class contents to window.
	(Text): Remove, move to OnTextChanged where it's supposed to be.
	(OnTextChanged): Added.

	* demo.cs: Test new features (Button, Label).

svn path=/trunk/mcs/; revision=5507
2002-06-30 21:21:55 +00:00

32 lines
575 B
C#

//
// System.Windows.Forms.DialogResult.cs
//
// Author:
// Jaak Simm ([email protected])
// Dennis Hayes ([email protected])
// (C) 2002 Ximian, Inc. http://www.ximian.com
//
using System;
namespace System.Windows.Forms
{
/// <summary>
/// Specifies identifiers to indicate the return value of a dialog box.
/// </summary>
[Serializable]
//[ComVisible(true)]
public enum DialogResult
{
//Values were verified with enumcheck.
None = 0,
OK = 1,
Cancel = 2,
Abort = 3,
Retry = 4,
Ignore = 5,
Yes = 6,
No = 7,
}
}