Class ConnectionEditorBase
The base class for all connection editors. This control is used when you edit the connection in the Data Wizard.
Inheritance
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.UserControl
ConnectionEditorBase
Namespace: FastReport.Data.ConnectionEditors
Assembly: FastReport.dll
Syntax
public class ConnectionEditorBase : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Constructors
ConnectionEditorBase()
Initializes a new instance of the ConnectionEditorBase class with default settings.
Declaration
public ConnectionEditorBase()
Properties
ConnectionString
Gets or sets a connection string.
Declaration
public string ConnectionString { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | true if managed resources should be disposed; otherwise, false. |
Overrides
System.Windows.Forms.ContainerControl.Dispose(System.Boolean)
GetConnectionString()
This method should construct the connection string from values entered by user.
Declaration
protected virtual string GetConnectionString()
Returns
Type | Description |
---|---|
System.String | The connection string. |
SetConnectionString(String)
This method should parse the connection string and fill the user interface elements.
Declaration
protected virtual void SetConnectionString(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The connection string. |
UpdateDpiDependencies()
Updates the component layout on dpi change.
Declaration
public virtual void UpdateDpiDependencies()