Property | Type | Description | |
---|---|---|---|
AddGridSelectionChangedEvent | void | ||
CancelButtonClicked | void | ||
CheckRowSelectionCanChange | bool | ||
DeleteButtonClicked | void | ||
FireBusinessObjectSelected | void | ||
GridSelectionChanged | void | ||
NewButtonClicked | void | ||
PropertyUpdated | void | ||
SaveClickHandler | void | ||
SavePreviousBusinessObject | void | ||
SelectLastRowInGrid | void | ||
SetSelectedBusinessObject | void | ||
SetupButtonGroupControl | void | ||
SetupGridAndBOEditorControlWin | void | ||
SetupReadOnlyGridControl | void | ||
UpdateControlEnabledState | void |
Method | Description | |
---|---|---|
BOSelectorAndBOEditorControlWin ( IControlFactory controlFactory, ClassDef classDef, string uiDefName ) : System |
Constructor for the BOSelectorAndBOEditorControlWin
|
|
BOSelectorAndBOEditorControlWin ( IControlFactory controlFactory, IBOEditorControl iboEditorControl ) : System |
Constructor for the BOSelectorAndBOEditorControlWin
|
|
BOSelectorAndBOEditorControlWin ( IControlFactory controlFactory, IBOEditorControl iboEditorControl, string gridUiDefName ) : System |
Constructor for the BOSelectorAndBOEditorControlWin
|
|
GetGridWidthToFitColumns ( IGridBase grid ) : int |
Returns the Total width of the Selector. IGridBase. This is used so that the Selector and BOEditor can be layed out.
|
|
RefreshGrid ( ) : void |
Refreshes the Selector control (i.e. the
|
|
RemoveGridSelectionChangedEvent ( ) : void |
Removes the GridSelectionChanged Event Handler from the IDataGridView.SelectionChanged event
|
Method | Description | |
---|---|---|
AddGridSelectionChangedEvent ( ) : void |
Adds the GridSelectionChanged Event Handler to the IDataGridView.SelectionChanged event
|
|
CancelButtonClicked ( object sender, |
||
CheckRowSelectionCanChange ( ) : bool |
Using the RowValidating event did not work as expected, so this method provides a way to check whether the grid selection should be forced back to the previous selection
|
|
DeleteButtonClicked ( object sender, |
||
FireBusinessObjectSelected ( IBusinessObject businessObject ) : void | ||
GridSelectionChanged ( object sender, |
||
NewButtonClicked ( object sender, |
Deliberately adds BO to the grid's collection because current habanero model only adds BO to grid when it is saved. This causes a problem when you call col.CreateBO(), since it adds the BO twice and throws a duplicate key exception.
|
|
PropertyUpdated ( object sender, Habanero.Base.BOPropUpdatedEventArgs eventArgs ) : void | ||
SaveClickHandler ( object sender, |
||
SavePreviousBusinessObject ( ) : void | ||
SelectLastRowInGrid ( ) : void | ||
SetSelectedBusinessObject ( ) : void | ||
SetupButtonGroupControl ( ) : void | ||
SetupGridAndBOEditorControlWin ( IControlFactory controlFactory, IBOEditorControl iboEditorControl, string gridUiDefName ) : void | ||
SetupReadOnlyGridControl ( string gridUiDefName ) : void | ||
UpdateControlEnabledState ( ) : void |
public BOSelectorAndBOEditorControlWin ( IControlFactory controlFactory, ClassDef classDef, string uiDefName ) : System | ||
controlFactory | IControlFactory | |
classDef | ClassDef | |
uiDefName | string | |
return | System |
public BOSelectorAndBOEditorControlWin ( IControlFactory controlFactory, IBOEditorControl iboEditorControl ) : System | ||
controlFactory | IControlFactory | |
iboEditorControl | IBOEditorControl | |
return | System |
public BOSelectorAndBOEditorControlWin ( IControlFactory controlFactory, IBOEditorControl iboEditorControl, string gridUiDefName ) : System | ||
controlFactory | IControlFactory | |
iboEditorControl | IBOEditorControl | |
gridUiDefName | string | |
return | System |
public static GetGridWidthToFitColumns ( IGridBase grid ) : int | ||
grid | IGridBase | |
return | int |
public RemoveGridSelectionChangedEvent ( ) : void | ||
return | void |