Class frmNotificationDialog
Represents a window or dialog box that is used to show the notification message.
Inheritance
Namespace: Syncfusion.Windows.Forms.Edit.Dialogs
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class frmNotificationDialog : Form
Constructors
frmNotificationDialog()
Initializes a new instance of the frmNotificationDialog class.
Declaration
public frmNotificationDialog()
Properties
CheckText
Gets or sets the text of Check box on the frmNotificationDialog.
Declaration
public string CheckText { get; set; }
Property Value
Type |
---|
System.String |
DialogCaption
Gets or sets the caption text of the frmNotificationDialog.
Declaration
public string DialogCaption { get; set; }
Property Value
Type |
---|
System.String |
DialogIcon
Gets or sets the dialog box icon of the form.
Declaration
public Image DialogIcon { get; set; }
Property Value
Type |
---|
System.Drawing.Image |
DialogParent
Gets or sets the parent form of the frmNotificationDialog.
Declaration
public Form DialogParent { get; set; }
Property Value
Type |
---|
System.Windows.Forms.Form |
HideCancel
Gets or sets a value indicating whether to hide cancel button or not.
Declaration
public bool HideCancel { get; set; }
Property Value
Type |
---|
System.Boolean |
NotifyText
Gets or sets the notice message for the frmNotificationDialog.
Declaration
public string NotifyText { get; set; }
Property Value
Type |
---|
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 to release both managed and unmanaged resources; false to release only unmanaged resources. |
EnableDoubleBuffering()
Enables double buffering for the form thats helps to renderer all paint operations to a memory buffer instead of the drawing surface on the screen.
Declaration
public void EnableDoubleBuffering()
Show(Form, String, String, String, Boolean, Image)
Displays the modal dialog that helps to show the notice message.
Declaration
public bool Show(Form parent, string captionText, string noticeText, string checkText, bool hideCancel, Image icon)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Form | parent | Parent for this dialog. ( Can be NULL ) |
System.String | captionText | Caption text of dialog. ( Can be NULL ) |
System.String | noticeText | Notification Text. ( Can be NULL ) |
System.String | checkText | Text near CheckBox. ( Can be NULL ) |
System.Boolean | hideCancel | if TRUE - hides Cancel button. |
System.Drawing.Image | icon | Icon on dialog. ( Can be NULL ) |
Returns
Type | Description |
---|---|
System.Boolean | TRUE - if CheckBox was checked, FALSE - Otherwise. |
ShowDialog()
Shows modal dialog.
Declaration
public void ShowDialog()