C# Class YamuiFramework.Forms.YamuiNotification

Afficher le fichier Open project: jcaillon/3P Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

public static CloseEverything ( ) : void
Résultat void

Dispose() protected méthode

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

OnActivated() protected méthode

protected OnActivated ( EventArgs e ) : void
e EventArgs
Résultat void

OnClosed() protected méthode

protected OnClosed ( EventArgs e ) : void
e EventArgs
Résultat void

OnClosing() protected méthode

protected OnClosing ( CancelEventArgs e ) : void
e System.ComponentModel.CancelEventArgs
Résultat void

OnLoad() protected méthode

protected OnLoad ( EventArgs e ) : void
e EventArgs
Résultat void

OnShown() protected méthode

protected OnShown ( EventArgs e ) : void
e EventArgs
Résultat void

Show() public méthode

Call this method to show the notification
public Show ( ) : void
Résultat void

YamuiNotification() public méthode

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
Résultat System