C# Class YamuiFramework.Forms.YamuiNotification

Exibir arquivo Open project: jcaillon/3P Class Usage Examples

Public Methods

Method Description
CloseEverything ( ) : void
Show ( ) : void

Call this method to show the notification

YamuiNotification ( string htmlTitle, string htmlMessage, int duration, Screen screenToUse = null, int formMinWidth, int formMaxWidth, int formMaxHeight, EventHandler onLinkClicked = null ) : System

Create a new notification, to be displayed with Show() later

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnActivated ( EventArgs e ) : void
OnClosed ( EventArgs e ) : void
OnClosing ( CancelEventArgs e ) : void
OnLoad ( EventArgs e ) : void
OnShown ( EventArgs e ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

OnCloseAllVisibleNotif ( ) : void

The user clicked on the button to close all visible notifications

Method Details

CloseEverything() public static method

public static CloseEverything ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

OnActivated() protected method

protected OnActivated ( EventArgs e ) : void
e EventArgs
return void

OnClosed() protected method

protected OnClosed ( EventArgs e ) : void
e EventArgs
return void

OnClosing() protected method

protected OnClosing ( CancelEventArgs e ) : void
e System.ComponentModel.CancelEventArgs
return void

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e EventArgs
return void

OnShown() protected method

protected OnShown ( EventArgs e ) : void
e EventArgs
return void

Show() public method

Call this method to show the notification
public Show ( ) : void
return void

YamuiNotification() public method

Create a new notification, to be displayed with Show() later
public YamuiNotification ( string htmlTitle, string htmlMessage, int duration, Screen screenToUse = null, int formMinWidth, int formMaxWidth, int formMaxHeight, EventHandler onLinkClicked = null ) : System
htmlTitle string
htmlMessage string
duration int
screenToUse System.Windows.Forms.Screen
formMinWidth int
formMaxWidth int
formMaxHeight int
onLinkClicked EventHandler
return System