[]
Adds a child control to a specified sheet at the location of the specified row and column.
public virtual bool AddControl(Control child, int sheetIndex, int rowIndex, int columnIndex)
Public Overridable Function AddControl(child As Control, sheetIndex As Integer, rowIndex As Integer, columnIndex As Integer) As Boolean
Type | Name | Description |
---|---|---|
Control | child | Child control being added |
int | sheetIndex | Index of the sheet |
int | rowIndex | Index of the row to align |
int | columnIndex | Index of the column to align |
Type | Description |
---|---|
bool | true if the control was successfully added; false otherwise |
Adds a child control to the specified sheet using the control's Top and Left properties for location.
public virtual bool AddControl(Control child, int sheetIndex)
Public Overridable Function AddControl(child As Control, sheetIndex As Integer) As Boolean
Type | Description |
---|---|
bool | True if the control was successfully added; otherwise, false |