Method Name |
Description |
CanClose() As Boolean |
|
Clear() |
|
Compare(x As Object, y As Object) As Int32 |
Parameters |
x |
Type: Object |
|
|
y |
Type: Object |
|
|
CreateMenuItem(Database As GrooperDb, Items As IEnumerable, CommandType As Type, Handler As EventHandler, ContextInstance As Object) As ToolStripMenuItem |
Creates a ToolStripMenuItem for a specific command type, if the command is enabled for a list of selected objects.
Parameters |
Database |
Type: GrooperDb |
The Grooper database. |
|
Items |
Type: IEnumerable |
The list of selected objects. |
|
CommandType |
Type: Type |
A type deriving from ObjectCommand. |
|
Handler |
Type: EventHandler |
The "Click" event handler to be wired up to the menu item. |
|
ContextInstance |
Type: Object |
An optional context instance. |
|
CreateMenuItems(Database As GrooperDb, CommandTypes As IEnumerable(Of Type), Items As IEnumerable, Handler As EventHandler) As List(Of ToolStripMenuItem) |
Creates a list ToolStripMenuItems from a list of command types, returning one ToolStripMenuItem for each enabled command.
Parameters |
Database |
Type: GrooperDb |
The Grooper database. |
|
CommandTypes |
Type: IEnumerable`1 |
A list types deriving from ObjectCommand. |
|
Items |
Type: IEnumerable |
The list of selected objects. |
|
Handler |
Type: EventHandler |
The "Click" event handler to be wired up to the menu item. |
|
CreateToolStripButtons(Database As GrooperDb, CommandTypes As IEnumerable(Of Type), Items As IEnumerable, Handler As EventHandler) As IEnumerable(Of ToolStripButton) |
Creates a list ToolStripButtons from a list of command types, returning one ToolStripButton for each enabled command.
Parameters |
Database |
Type: GrooperDb |
The Grooper database. |
|
CommandTypes |
Type: IEnumerable`1 |
A list types deriving from ObjectCommand. |
|
Items |
Type: IEnumerable |
The list of selected objects. |
|
Handler |
Type: EventHandler |
The "Click" event handler to be wired up to the button. |
|
Dispose(disposing As Boolean) |
Releases the unmanaged resources used by the control and its child controls and optionally releases the managed resources.
Parameters |
disposing |
Type: Boolean |
true to release both managed and unmanaged resources; false to release only unmanaged resources. |
|
GetControlCommandTypes(ObjectType As Type, RepositoryId As Guid) As IEnumerable(Of Type) |
Returns a list of object commands which apply to a specific object type within the context of this control.
Parameters |
ObjectType |
Type: Type |
The object type. |
|
RepositoryId |
Type: Guid |
The GUID ID of the Grooper repository. |
|
Initialize(Root As GrooperRoot, Machine As Machine, FixedList As IEnumerable(Of ServiceInstance)) |
Parameters |
Root |
Type: GrooperRoot |
|
|
Machine |
Type: Machine |
|
|
FixedList |
Type: IEnumerable`1 |
|
|
OnClose() |
|
ResumeActivity() |
|
ShowValidationErrors(Items As ValidationErrorList, AllowInvalid As Boolean) As Boolean |
Parameters |
Items |
Type: ValidationErrorList |
|
|
AllowInvalid |
Type: Boolean |
|
|
SuspendActivity() |
|
ValidateObject(Item As GrooperObject, AllowInvalid As Boolean) As Boolean |
Parameters |
Item |
Type: GrooperObject |
|
|
AllowInvalid |
Type: Boolean |
|
|
ValidateProperties() As ValidationErrorList |
|