UpDownEventArgs(Int32) 构造函数

定义

初始化 UpDownEventArgs 类的新实例。

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 UpDownEventArgs(int buttonPushed);
public UpDownEventArgs(int buttonPushed);
new System.Windows.Forms.UpDownEventArgs : int -> System.Windows.Forms.UpDownEventArgs
Public Sub New (buttonPushed As Integer)

参数

buttonPushed
Int32

单击控件上的 UpDownBase 按钮。

注解

下表描述了有效 buttonPushed值。

价值 Description
0 未单击这两个按钮。
1 单击了向上按钮。
2 单击了向下按钮。

适用于