NumericUpDownAcceleration(Int32, Decimal) Constructor

Definition

Initializes a new instance of the NumericUpDownAcceleration class.

public:
 NumericUpDownAcceleration(int seconds, System::Decimal increment);
public NumericUpDownAcceleration (int seconds, decimal increment);
new System.Windows.Forms.NumericUpDownAcceleration : int * decimal -> System.Windows.Forms.NumericUpDownAcceleration
Public Sub New (seconds As Integer, increment As Decimal)

Parameters

seconds
Int32

The number of seconds the up or down button is pressed before the acceleration starts.

increment
Decimal

The quantity the value displayed in the control should be incremented or decremented during acceleration.

Exceptions

seconds or increment is less than 0.

Applies to