Parameters
- index
- The index where the key is inserted.
- key
- The System.Windows.Forms.Keys value indicates the key of a button.
- buttonKey
- The System.String value indicates the name of the button.
Exception | Description |
---|---|
System.ArgumentNullException | The buttonKey can't be a null reference (Nothing in Visual Basic) or string.Empty. |
System.ArgumentException | The buttonKey isn't a correct Calculator Button Key, you can get all keys from DropDownCalculator.ButtonKeys property. |
System.ArgumentException | There is a same key had been added before, please change another one. |