DatabaseConnectionDialog Constructor
- Namespace
TXTextControl.DocumentServer. Windows. Forms
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Creates a DatabaseConnectionDialog object for the specified DocumentServer.DataSources.DataSourceManager.
Syntax
public DatabaseConnectionDialog(DataSourceManager dataSourceManager);Public Sub New(dataSourceManager As DataSourceManager)Parameters
| Parameter | Description |
|---|---|
| dataSourceManager | Specifies the DataSourceManager, which handles the selected connection to a data source. |
Examples
The following example creates a Database Connection Dialog instance and configures its allow transparency setting for a document workflow.
using TXTextControl.DocumentServer.Windows.Forms.DatabaseConnectionDialog databaseConnectionDialog = new(new TXTextControl.DocumentServer.DataSources.DataSourceManager());
databaseConnectionDialog.AllowTransparency = true;Dim databaseConnectionDialog As New TXTextControl.DocumentServer.Windows.Forms.DatabaseConnectionDialog(New TXTextControl.DocumentServer.DataSources.DataSourceManager())
databaseConnectionDialog.AllowTransparency = True