TX Text Control .NET for Windows Forms

DatabaseConnectionDialog Constructor

Constructor|Introduced in 24.0
Namespace
TXTextControl.DocumentServer.Windows.Forms
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Creates a DatabaseConnectionDialog object for the specified DocumentServer.DataSources.DataSourceManager.

Syntax

public DatabaseConnectionDialog(DataSourceManager dataSourceManager);

Parameters

ParameterDescription
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;