Files
mono/mcs/class/System.Windows.Forms/Gtk/ControlEventArgs.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

37 lines
704 B
C#

//
// System.Windows.Forms.ControlEventArgs.cs
//
// Author:
// stubbed out by Jaak Simm ([email protected])
// implemented for Gtk+ by Rachel Hestilow ([email protected])
// (C) Ximian, Inc., 2002
namespace System.Windows.Forms
{
/// <summary>
/// Provides data for the ControlAdded and ControlRemoved events.
/// ToDo note:
/// - no methods are implemented
/// </summary>
public class ControlEventArgs : EventArgs
{
Control control;
#region Constructors
public ControlEventArgs(Control control) {
this.control = control;
}
#endregion
#region Properties
public Control Control {
get { return control; }
}
#endregion
}
}