UpDownEventArgs(Int32) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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 | 按下了下鍵。 |