Files
mono/mcs/class/System.Windows.Forms/Gtk/ScrollEventArgs.cs
T
Philip Van Hoof cc0bd4631e Added widgets: ScrollBar, HScrollBar, VScrollBar
Code reflow of the demo.cs-file
Added a HScrollBar and a VScrollBar to the demo.cs-file

svn path=/trunk/mcs/; revision=14939
2003-05-27 18:58:48 +00:00

60 lines
891 B
C#

//
// System.Windows.Forms.ScrollEventArgs.cs
//
// Author:
// stubbed out by Daniel Carrera ([email protected])
// Dennis Hayes ([email protected])
// Gianandrea Terzi ([email protected])
//
// (C) 2002 Ximian, Inc
//
using System.Runtime.InteropServices;
namespace System.Windows.Forms {
// <summary>
// </summary>
public class ScrollEventArgs : EventArgs {
#region Fields
private int newvalue;
private ScrollEventType type;
#endregion
//
// --- Constructor
//
public ScrollEventArgs(ScrollEventType type, int newVal)
{
this.newvalue = newvalue;
this.type = type;
}
#region Public Properties
[ComVisible(true)]
public int NewValue
{
get {
return newvalue;
}
set {
newvalue = value;
}
}
[ComVisible(true)]
public ScrollEventType Type {
get {
return type;
}
}
#endregion
}
}