DatabaseConnectionDialog Class
- Namespace
TXTextControl.DocumentServer. Windows. Forms
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXDocumentServer.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXDocumentServer.from the setup.Windows. Forms. dll
- Inherits
- Form
- HighDpiForm
- Database
Connection Dialog
Description
The DatabaseConnectionDialog class allows the user to build connection strings and to connect to specific data sources. The DatabaseConnectionDialog is a modal dialog box which must be shown with the DatabaseConnectionDialog.ShowDialog method.
Syntax
public class DatabaseConnectionDialog : HighDpiFormPublic Class DatabaseConnectionDialog
Inherits HighDpiFormExamples
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 = TrueMembers
Constructors
| Constructor | Description |
|---|---|
| DatabaseConnectionDialog | Creates a DatabaseConnectionDialog object for the specified DocumentServer.DataSources.DataSourceManager. |
Methods
| Method | Description |
|---|---|
| Show | Not described in the reference. public void Show(IWin32Window owner); |
| ShowDialog | Not described in the reference. public System.Windows.Forms.DialogResult ShowDialog(); |