Метод | Описание | |
---|---|---|
AddCurrentBOPropHandlers ( |
Adds handlers to events of a current business object property.
|
|
AddKeyPressEventHandler ( IControlHabanero control ) : void |
Handles the default key press behaviours on a control. This is typically used to change the handling of the enter key (such as having the enter key cause focus to move to the next control).
|
|
RemoveCurrentBOPropHandlers ( |
Removes handlers to events of a current business object property. It is essential that if the AddCurrentBoPropHandlers is implemented then this is implemented such that editing a business object that is no longer being shown on the control does not does not update the value in the control.
|
Метод | Описание | |
---|---|---|
CtlKeyUpHandler ( object sender, |
A handler to deal with the case where a key has been released. If the key is an Enter key, focus moves to the next item in the tab order. This has been made protected for the purposes of testing. Since the event based testing using NUnitForms does not work on our build server. This method should not be used in normal production code. |
|
GetFirstControl ( |
Provides the first control in the tab order on a control
|
|
GetNextControlInTabOrder ( |
Provides the next item in the tab order on a control
|
Метод | Описание | |
---|---|---|
CtlKeyDownHandler ( object sender, |
A handler to deal with the case where a key is down.
|
|
CtlKeyPressHandler ( object sender, System e ) : void |
A handler to deal with the case where a key has been pressed.
|
|
GetNextControl ( |
||
GetPreviousControl ( |
||
IsMultiLineTextBox ( ) : bool | ||
SetFocusOnNextControl ( ) : void |
public AddCurrentBOPropHandlers ( |
||
mapper | The control mapper that maps the business object property to the control | |
boProp | IBOProp | The business object property being mapped to the control |
Результат | void |
public AddKeyPressEventHandler ( IControlHabanero control ) : void | ||
control | IControlHabanero | The control whose events will be handled |
Результат | void |
protected CtlKeyUpHandler ( object sender, |
||
sender | object | The object that notified of the event |
e | Attached arguments regarding the event | |
Результат | void |
protected static GetFirstControl ( |
||
parentControl | The parent of the controls in question | |
control | The current control | |
Результат |
protected static GetNextControlInTabOrder ( |
||
parentControl | The parent of the controls in question | |
control | The current control | |
Результат |
public RemoveCurrentBOPropHandlers ( |
||
mapper | The control mapper that maps the business object property to the control | |
boProp | IBOProp | The business object property being mapped to the control |
Результат | void |