mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
Code reflow of the demo.cs-file Added a HScrollBar and a VScrollBar to the demo.cs-file svn path=/trunk/mcs/; revision=14939
60 lines
891 B
C#
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
|
|
}
|
|
}
|