C# Class Brh.Forms.PopupNotify

Summary description for PopupNotify. Note: No properties may be changed after Show - don't do it! It won't cause an error but it'll mess you up.
Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: bhollis/brh-forms Class Usage Examples

Méthodes publiques

Свойство Type Description
AnimateTime int
GradientColor System.Drawing.Color
IconHeight int
IconWidth int
WaitOnMouseOver bool
WaitTime int

Méthodes publiques

Méthode Description
PopupNotify ( ) : System
PopupNotify ( string titleText, string messageText ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

DrawBorder ( Graphics fx ) : void
DrawCloseButton ( CloseButtonState state ) : Bitmap
DrawLegacyCloseButton ( CloseButtonState state ) : Bitmap

Draw a Windows 95 style close button.

DrawThemeCloseButton ( CloseButtonState state ) : Bitmap

Draw a Windows XP style close button.

OnPaintBackground ( PaintEventArgs e ) : void
drawBorder ( Graphics fx ) : void
drawCloseButton ( Int32 state ) : Bitmap
drawLegacyCloseButton ( Int32 state ) : Bitmap

Draw a Windows 95 style close button.

drawThemeCloseButton ( Int32 state ) : Bitmap

Draw a Windows XP style close button.

visualStylesEnabled ( ) : bool

Determine whether or not XP Visual Styles are active. Compatible with pre-UxTheme.dll versions of Windows.

Private Methods

Méthode Description
AnimateWindow ( IntPtr hwnd, int time, AnimateWindowFlags flags ) : bool
AnimateWindow ( bool positive, bool hide ) : void
Application_ThreadException ( object sender, System e ) : void
CloseThemeData ( IntPtr hTheme ) : void
Collapse ( ) : void
DrawThemeBackground ( IntPtr hTheme, IntPtr hDC, Int32 partId, Int32 stateId, System.Windows.Forms.RECT &rect, System.Windows.Forms.RECT &clipRect ) : void
FindSystemTray ( System rcWorkArea ) : SystemTrayLocation
InitializeComponent ( ) : void

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

IsThemeActive ( ) : Int32
MakeRoom ( ) : void
Notify ( ) : void
OpenThemeData ( IntPtr hWnd, [ classList ) : IntPtr
PopupNotify_Closing ( object sender, System e ) : void
PopupNotify_Load ( object sender, System e ) : void
SHAppBarMessage ( uint dwMessage, APPBARDATA &pData ) : IntPtr
SetLayout ( ) : void
SetWindowPos ( IntPtr hWnd, Int32 hWndInsertAfter, Int32 X, Int32 Y, Int32 cx, Int32 cy, uint uFlags ) : bool
ShowWindow ( IntPtr hWnd, Int32 flags ) : bool
UnNotify ( ) : void
closeButton_Click ( object sender, System e ) : void
closeButton_MouseDown ( object sender, System e ) : void
closeButton_MouseEnter ( object sender, System e ) : void
closeButton_MouseLeave ( object sender, System e ) : void
displayTimer_Tick ( object sender, System e ) : void

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

DrawBorder() protected méthode

protected DrawBorder ( Graphics fx ) : void
fx System.Drawing.Graphics
Résultat void

DrawCloseButton() protected méthode

protected DrawCloseButton ( CloseButtonState state ) : Bitmap
state CloseButtonState
Résultat System.Drawing.Bitmap

DrawLegacyCloseButton() protected méthode

Draw a Windows 95 style close button.
protected DrawLegacyCloseButton ( CloseButtonState state ) : Bitmap
state CloseButtonState
Résultat System.Drawing.Bitmap

DrawThemeCloseButton() protected méthode

Draw a Windows XP style close button.
protected DrawThemeCloseButton ( CloseButtonState state ) : Bitmap
state CloseButtonState
Résultat System.Drawing.Bitmap

OnPaintBackground() protected méthode

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

PopupNotify() public méthode

public PopupNotify ( ) : System
Résultat System

PopupNotify() public méthode

public PopupNotify ( string titleText, string messageText ) : System
titleText string
messageText string
Résultat System

drawBorder() protected méthode

protected drawBorder ( Graphics fx ) : void
fx System.Drawing.Graphics
Résultat void

drawCloseButton() protected méthode

protected drawCloseButton ( Int32 state ) : Bitmap
state System.Int32
Résultat System.Drawing.Bitmap

drawLegacyCloseButton() protected méthode

Draw a Windows 95 style close button.
protected drawLegacyCloseButton ( Int32 state ) : Bitmap
state System.Int32
Résultat System.Drawing.Bitmap

drawThemeCloseButton() protected méthode

Draw a Windows XP style close button.
protected drawThemeCloseButton ( Int32 state ) : Bitmap
state System.Int32
Résultat System.Drawing.Bitmap

visualStylesEnabled() protected méthode

Determine whether or not XP Visual Styles are active. Compatible with pre-UxTheme.dll versions of Windows.
protected visualStylesEnabled ( ) : bool
Résultat bool

Property Details

AnimateTime public_oe property

Gets or sets the amount of time the slide in/out animations take, in ms.
public int AnimateTime
Résultat int

GradientColor public_oe property

An EventHandler called when the NotifyWindow main text is clicked. An EventHandler called when the NotifyWindow title text is clicked. Gets or sets the gradient color which will be blended in drawing the background.
public Color,System.Drawing GradientColor
Résultat System.Drawing.Color

IconHeight public_oe property

public int IconHeight
Résultat int

IconWidth public_oe property

public int IconWidth
Résultat int

WaitOnMouseOver public_oe property

Gets or sets a value specifiying whether or not the window should continue to be displayed if the mouse cursor is inside the bounds of the NotifyWindow.
public bool WaitOnMouseOver
Résultat bool

WaitTime public_oe property

Gets or sets the amount of milliseconds to display the NotifyWindow for.
public int WaitTime
Résultat int