C# Класс 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.
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AnimateTime int
GradientColor System.Drawing.Color
IconHeight int
IconWidth int
WaitOnMouseOver bool
WaitTime int

Открытые методы

Метод Описание
PopupNotify ( ) : System
PopupNotify ( string titleText, string messageText ) : System

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

DrawBorder() защищенный Метод

protected DrawBorder ( Graphics fx ) : void
fx System.Drawing.Graphics
Результат void

DrawCloseButton() защищенный Метод

protected DrawCloseButton ( CloseButtonState state ) : Bitmap
state CloseButtonState
Результат System.Drawing.Bitmap

DrawLegacyCloseButton() защищенный Метод

Draw a Windows 95 style close button.
protected DrawLegacyCloseButton ( CloseButtonState state ) : Bitmap
state CloseButtonState
Результат System.Drawing.Bitmap

DrawThemeCloseButton() защищенный Метод

Draw a Windows XP style close button.
protected DrawThemeCloseButton ( CloseButtonState state ) : Bitmap
state CloseButtonState
Результат System.Drawing.Bitmap

OnPaintBackground() защищенный Метод

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
Результат void

PopupNotify() публичный Метод

public PopupNotify ( ) : System
Результат System

PopupNotify() публичный Метод

public PopupNotify ( string titleText, string messageText ) : System
titleText string
messageText string
Результат System

drawBorder() защищенный Метод

protected drawBorder ( Graphics fx ) : void
fx System.Drawing.Graphics
Результат void

drawCloseButton() защищенный Метод

protected drawCloseButton ( Int32 state ) : Bitmap
state System.Int32
Результат System.Drawing.Bitmap

drawLegacyCloseButton() защищенный Метод

Draw a Windows 95 style close button.
protected drawLegacyCloseButton ( Int32 state ) : Bitmap
state System.Int32
Результат System.Drawing.Bitmap

drawThemeCloseButton() защищенный Метод

Draw a Windows XP style close button.
protected drawThemeCloseButton ( Int32 state ) : Bitmap
state System.Int32
Результат System.Drawing.Bitmap

visualStylesEnabled() защищенный Метод

Determine whether or not XP Visual Styles are active. Compatible with pre-UxTheme.dll versions of Windows.
protected visualStylesEnabled ( ) : bool
Результат bool

Описание свойств

AnimateTime публичное свойство

Gets or sets the amount of time the slide in/out animations take, in ms.
public int AnimateTime
Результат int

GradientColor публичное свойство

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
Результат System.Drawing.Color

IconHeight публичное свойство

public int IconHeight
Результат int

IconWidth публичное свойство

public int IconWidth
Результат int

WaitOnMouseOver публичное свойство

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
Результат bool

WaitTime публичное свойство

Gets or sets the amount of milliseconds to display the NotifyWindow for.
public int WaitTime
Результат int