Class MessengerForm
Represents form of messenger.
Inheritance
Inherited Members
Namespace: FastReport.Messaging
Assembly: FastReport.dll
Syntax
public class MessengerForm : BaseDialogForm, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Constructors
MessengerForm()
Initializes a new instance of the MessengerForm class.
Declaration
public MessengerForm()
MessengerForm(Report)
Initializes a new instance of the MessengerForm class.
Declaration
public MessengerForm(Report report)
Parameters
Type | Name | Description |
---|---|---|
Report | report | The report template. |
Fields
buttonSettings
Buttons Settings.
Declaration
protected Button buttonSettings
Field Value
Type | Description |
---|---|
System.Windows.Forms.Button |
cbFileType
ComboBox File Type.
Declaration
protected ComboBox cbFileType
Field Value
Type | Description |
---|---|
System.Windows.Forms.ComboBox |
labelFileType
Label File Type.
Declaration
protected Label labelFileType
Field Value
Type | Description |
---|---|
System.Windows.Forms.Label |
labelProxyColon
Label Colon.
Declaration
protected Label labelProxyColon
Field Value
Type | Description |
---|---|
System.Windows.Forms.Label |
labelProxyPassword
Label Password.
Declaration
protected Label labelProxyPassword
Field Value
Type | Description |
---|---|
System.Windows.Forms.Label |
labelProxyServer
Label Server.
Declaration
protected Label labelProxyServer
Field Value
Type | Description |
---|---|
System.Windows.Forms.Label |
labelProxyUsername
Label Username.
Declaration
protected Label labelProxyUsername
Field Value
Type | Description |
---|---|
System.Windows.Forms.Label |
pageControl1
PageControl pageControl1.
Declaration
protected PageControl pageControl1
Field Value
Type | Description |
---|---|
PageControl |
pgFile
Page File.
Declaration
protected PageControlPage pgFile
Field Value
Type | Description |
---|---|
PageControlPage |
pgProxy
Page Proxy.
Declaration
protected PageControlPage pgProxy
Field Value
Type | Description |
---|---|
PageControlPage |
tbProxyPassword
TextBox Password.
Declaration
protected TextBox tbProxyPassword
Field Value
Type | Description |
---|---|
System.Windows.Forms.TextBox |
tbProxyPort
TextBox Port.
Declaration
protected TextBox tbProxyPort
Field Value
Type | Description |
---|---|
System.Windows.Forms.TextBox |
tbProxyServer
TextBox Server.
Declaration
protected TextBox tbProxyServer
Field Value
Type | Description |
---|---|
System.Windows.Forms.TextBox |
tbProxyUsername
TextBox Username.
Declaration
protected TextBox tbProxyUsername
Field Value
Type | Description |
---|---|
System.Windows.Forms.TextBox |
Properties
Exports
Gets or sets the list of exports.
Declaration
public List<ExportBase> Exports { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ExportBase> |
Report
Gets or sets the report template.
Declaration
public Report Report { get; set; }
Property Value
Type | Description |
---|---|
Report |
Methods
btnOk_Click(Object, EventArgs)
Click event handler for button OK.
Declaration
protected virtual void btnOk_Click(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | Event sender. |
System.EventArgs | e | Event args. |
buttonSettings_Click(Object, EventArgs)
Click event handler for Button Settings.
Declaration
protected void buttonSettings_Click(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | Event sender. |
System.EventArgs | e | Event args. |
cbFileType_SelectedIndexChanged(Object, EventArgs)
SelectedIndexChanged event handler for ComboBox File Type.
Declaration
protected void cbFileType_SelectedIndexChanged(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | Event sender. |
System.EventArgs | e | Event args. |
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
Done()
Finishes the form work.
Declaration
protected virtual bool Done()
Returns
Type | Description |
---|---|
System.Boolean | Returns true if work has been successfully finished, otherwise false. |
GetProxySettings()
Gets the proxy settings.
Declaration
protected ProxySettings GetProxySettings()
Returns
Type | Description |
---|---|
ProxySettings | The proxy settings. |
Init()
Initializes the component.
Declaration
protected virtual void Init()
InitExports()
Initializes the list of exports.
Declaration
protected void InitExports()
IsNumeric(String)
Checks is the string numeric.
Declaration
protected bool IsNumeric(string str)
Parameters
Type | Name | Description |
---|---|---|
System.String | str | The checking string. |
Returns
Type | Description |
---|---|
System.Boolean | True if string is numeric, otherwise false. |
Localize()
Localizes the dialog controls.
Declaration
public override void Localize()
Overrides
Remarks
Use this method to set control's captions specific to the current locale.
MessengerForm_FormClosing(Object, FormClosingEventArgs)
FormClosing event handler for CloudStorageClientForm.
Declaration
protected void MessengerForm_FormClosing(object sender, FormClosingEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | Event sender. |
System.Windows.Forms.FormClosingEventArgs | e | Event args. |