Class NewReportWizard
New report connection wizard (port of the Delphi modern new report wizard, adapted to the .Net model). On "New" the user chooses a connection route: a Reportman AI / DB Agent connection (API key + Hub database), a direct database connection (.Net provider + connection string) or no connection. Direct connections store the connection string in the report; agent connections store the API key + Hub database in dbxconnections.ini (the report only keeps the alias + HttpAgent driver), exactly like Delphi.
Inheritance
NewReportWizard
Implements
Inherited Members
Namespace: Reportman.Designer
Assembly: Reportman.Designer.dll
Syntax
public class NewReportWizard : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Methods
View SourceCapturePages(string)
Declaration
public static void CapturePages(string pngBase)
Parameters
| Type | Name | Description |
|---|---|---|
| string | pngBase |
Run(Report, IWin32Window)
Show the wizard and configure the report connection. Returns DialogResult.OK when the user finished (DatabaseInfo configured, possibly none), DialogResult.Cancel to abort.
Declaration
public static DialogResult Run(Report report, IWin32Window owner)
Parameters
| Type | Name | Description |
|---|---|---|
| Report | report | |
| IWin32Window | owner |
Returns
| Type | Description |
|---|---|
| DialogResult |