Class OpenFromLibrary
User control that browses a report library stored in a database, presenting reports and their folder groups as a tree and supporting selection, creation, renaming, deletion, reordering, and import/export of reports.
Inheritance
OpenFromLibrary
Implements
Inherited Members
Namespace: Reportman.Designer
Assembly: Reportman.Designer.dll
Syntax
public class OpenFromLibrary : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Constructors
View SourceOpenFromLibrary()
Declaration
public OpenFromLibrary()
Fields
View SourceOnAccept
Declaration
public EventHandler OnAccept
Field Value
| Type | Description |
|---|---|
| EventHandler |
OnAfterSelect
Declaration
public OpenFromLibrary.AfterSelectEvent OnAfterSelect
Field Value
| Type | Description |
|---|---|
| OpenFromLibrary.AfterSelectEvent |
OnBeforeSelect
Declaration
public OpenFromLibrary.BeforeSelectEvent OnBeforeSelect
Field Value
| Type | Description |
|---|---|
| OpenFromLibrary.BeforeSelectEvent |
OnCancel
Declaration
public EventHandler OnCancel
Field Value
| Type | Description |
|---|---|
| EventHandler |
toolbar
Declaration
public ToolStripAdvanced toolbar
Field Value
| Type | Description |
|---|---|
| ToolStripAdvanced |
Properties
View SourceShowOkCancel
Declaration
[Browsable(false)]
public bool ShowOkCancel { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
View SourceDispose(bool)
Limpiar los recursos que se estén usando.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | true si los recursos administrados se deben desechar; false en caso contrario. |
Overrides
View SourceGetSelectedReport()
Declaration
public string GetSelectedReport()
Returns
| Type | Description |
|---|---|
| string |
Init(ISqlExecuter, ReportLibraryConfig, SelectionModeType)
Declaration
public void Init(ISqlExecuter iexecute, ReportLibraryConfig libconfig, OpenFromLibrary.SelectionModeType newselectionmode)
Parameters
| Type | Name | Description |
|---|---|---|
| ISqlExecuter | iexecute | |
| ReportLibraryConfig | libconfig | |
| OpenFromLibrary.SelectionModeType | newselectionmode |
SelectReport(ISqlExecuter, ReportLibraryConfig, SelectionModeType, ref string, IWin32Window)
Declaration
public static bool SelectReport(ISqlExecuter iexecute, ReportLibraryConfig libconfig, OpenFromLibrary.SelectionModeType wselectionmode, ref string report_name, IWin32Window owner)
Parameters
| Type | Name | Description |
|---|---|---|
| ISqlExecuter | iexecute | |
| ReportLibraryConfig | libconfig | |
| OpenFromLibrary.SelectionModeType | wselectionmode | |
| string | report_name | |
| IWin32Window | owner |
Returns
| Type | Description |
|---|---|
| bool |