संपादित करें

इसके माध्यम से साझा किया गया


ScrollEventArgs Constructors

Definition

Initializes a new instance of the ScrollEventArgs class.

Overloads

ScrollEventArgs(ScrollEventType, Int32)

Initializes a new instance of the ScrollEventArgs class using the given values for the Type and NewValue properties.

ScrollEventArgs(ScrollEventType, Int32, Int32)

Initializes a new instance of the ScrollEventArgs class using the given values for the Type, OldValue, and NewValue properties.

ScrollEventArgs(ScrollEventType, Int32, ScrollOrientation)

Initializes a new instance of the ScrollEventArgs class using the given values for the Type, NewValue, and ScrollOrientation properties.

ScrollEventArgs(ScrollEventType, Int32, Int32, ScrollOrientation)

Initializes a new instance of the ScrollEventArgs class using the given values for the Type, OldValue, NewValue, and ScrollOrientation properties.

ScrollEventArgs(ScrollEventType, Int32)

Initializes a new instance of the ScrollEventArgs class using the given values for the Type and NewValue properties.

public:
 ScrollEventArgs(System::Windows::Forms::ScrollEventType type, int newValue);
public ScrollEventArgs (System.Windows.Forms.ScrollEventType type, int newValue);
new System.Windows.Forms.ScrollEventArgs : System.Windows.Forms.ScrollEventType * int -> System.Windows.Forms.ScrollEventArgs
Public Sub New (type As ScrollEventType, newValue As Integer)

Parameters

type
ScrollEventType

One of the ScrollEventType values.

newValue
Int32

The new value for the scroll bar.

See also

Applies to

ScrollEventArgs(ScrollEventType, Int32, Int32)

Initializes a new instance of the ScrollEventArgs class using the given values for the Type, OldValue, and NewValue properties.

public:
 ScrollEventArgs(System::Windows::Forms::ScrollEventType type, int oldValue, int newValue);
public ScrollEventArgs (System.Windows.Forms.ScrollEventType type, int oldValue, int newValue);
new System.Windows.Forms.ScrollEventArgs : System.Windows.Forms.ScrollEventType * int * int -> System.Windows.Forms.ScrollEventArgs
Public Sub New (type As ScrollEventType, oldValue As Integer, newValue As Integer)

Parameters

type
ScrollEventType

One of the ScrollEventType values.

oldValue
Int32

The old value for the scroll bar.

newValue
Int32

The new value for the scroll bar.

See also

Applies to

ScrollEventArgs(ScrollEventType, Int32, ScrollOrientation)

Initializes a new instance of the ScrollEventArgs class using the given values for the Type, NewValue, and ScrollOrientation properties.

public:
 ScrollEventArgs(System::Windows::Forms::ScrollEventType type, int newValue, System::Windows::Forms::ScrollOrientation scroll);
public ScrollEventArgs (System.Windows.Forms.ScrollEventType type, int newValue, System.Windows.Forms.ScrollOrientation scroll);
new System.Windows.Forms.ScrollEventArgs : System.Windows.Forms.ScrollEventType * int * System.Windows.Forms.ScrollOrientation -> System.Windows.Forms.ScrollEventArgs
Public Sub New (type As ScrollEventType, newValue As Integer, scroll As ScrollOrientation)

Parameters

type
ScrollEventType

One of the ScrollEventType values.

newValue
Int32

The new value for the scroll bar.

scroll
ScrollOrientation

One of the ScrollOrientation values.

See also

Applies to

ScrollEventArgs(ScrollEventType, Int32, Int32, ScrollOrientation)

Initializes a new instance of the ScrollEventArgs class using the given values for the Type, OldValue, NewValue, and ScrollOrientation properties.

public:
 ScrollEventArgs(System::Windows::Forms::ScrollEventType type, int oldValue, int newValue, System::Windows::Forms::ScrollOrientation scroll);
public ScrollEventArgs (System.Windows.Forms.ScrollEventType type, int oldValue, int newValue, System.Windows.Forms.ScrollOrientation scroll);
new System.Windows.Forms.ScrollEventArgs : System.Windows.Forms.ScrollEventType * int * int * System.Windows.Forms.ScrollOrientation -> System.Windows.Forms.ScrollEventArgs
Public Sub New (type As ScrollEventType, oldValue As Integer, newValue As Integer, scroll As ScrollOrientation)

Parameters

type
ScrollEventType

One of the ScrollEventType values.

oldValue
Int32

The old value for the scroll bar.

newValue
Int32

The new value for the scroll bar.

scroll
ScrollOrientation

One of the ScrollOrientation values.

See also

Applies to