mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* 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
32 lines
575 B
C#
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,
|
|
}
|
|
}
|