C# Class ToastNotifications.Notification

Datei anzeigen Open project: noxad/windows-toast-notifications Class Usage Examples

Public Methods

Method Description
Notification ( string title, string body, int duration, FormAnimator animation, FormAnimator direction ) : System

Show ( ) : void

Displays the form

Required to allow the form to determine the current foreground window before being displayed

Private Methods

Method Description
Notification_Activated ( object sender, EventArgs e ) : void
Notification_Click ( object sender, EventArgs e ) : void
Notification_FormClosed ( object sender, FormClosedEventArgs e ) : void
Notification_Load ( object sender, EventArgs e ) : void
Notification_Shown ( object sender, EventArgs e ) : void
labelRO_Click ( object sender, EventArgs e ) : void
labelTitle_Click ( object sender, EventArgs e ) : void
lifeTimer_Tick ( object sender, EventArgs e ) : void

Method Details

Notification() public method

public Notification ( string title, string body, int duration, FormAnimator animation, FormAnimator direction ) : System
title string
body string
duration int
animation FormAnimator
direction FormAnimator
return System

Show() public method

Displays the form
Required to allow the form to determine the current foreground window before being displayed
public Show ( ) : void
return void