C# Class System.Windows.Forms.MessageBoxManager

Afficher le fichier Open project: marijnkampf/Random-Photo-Screensaver Class Usage Examples

Méthodes publiques

Свойство Type Description
Abort string
Cancel string
Ignore string
No string
OK string
Retry string
Yes string

Méthodes publiques

Méthode Description
Register ( ) : void

Enables MessageBoxManager functionality

MessageBoxManager functionality is enabled on current thread only. Each thread that needs MessageBoxManager functionality has to call this method.

Unregister ( ) : void

Disables MessageBoxManager functionality

Disables MessageBoxManager functionality on current thread only.

Private Methods

Méthode Description
CallNextHookEx ( IntPtr idHook, int nCode, IntPtr wParam, IntPtr lParam ) : IntPtr
EndDialog ( IntPtr hDlg, IntPtr nResult ) : int
EnumChildWindows ( IntPtr hWndParent, EnumChildProc lpEnumFunc, IntPtr lParam ) : bool
GetClassName ( IntPtr hWnd, StringBuilder lpClassName, int nMaxCount ) : int
GetDlgCtrlID ( IntPtr hwndCtl ) : int
GetDlgItem ( IntPtr hDlg, int nIDDlgItem ) : IntPtr
GetWindowText ( IntPtr hWnd, StringBuilder text, int maxLength ) : int
GetWindowTextLength ( IntPtr hWnd ) : int
MessageBoxEnumProc ( IntPtr hWnd, IntPtr lParam ) : bool
MessageBoxHookProc ( int nCode, IntPtr wParam, IntPtr lParam ) : IntPtr
MessageBoxManager ( ) : System
SendMessage ( IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam ) : IntPtr
SetWindowText ( IntPtr hWnd, string lpString ) : bool
SetWindowsHookEx ( int idHook, HookProc lpfn, IntPtr hInstance, int threadId ) : IntPtr
UnhookWindowsHookEx ( IntPtr idHook ) : int

Method Details

Register() public static méthode

Enables MessageBoxManager functionality
MessageBoxManager functionality is enabled on current thread only. Each thread that needs MessageBoxManager functionality has to call this method.
public static Register ( ) : void
Résultat void

Unregister() public static méthode

Disables MessageBoxManager functionality
Disables MessageBoxManager functionality on current thread only.
public static Unregister ( ) : void
Résultat void

Property Details

Abort public_oe static_oe property

Abort text
public static string Abort
Résultat string

Cancel public_oe static_oe property

Cancel text
public static string Cancel
Résultat string

Ignore public_oe static_oe property

Ignore text
public static string Ignore
Résultat string

No public_oe static_oe property

No text
public static string No
Résultat string

OK public_oe static_oe property

OK text
public static string OK
Résultat string

Retry public_oe static_oe property

Retry text
public static string Retry
Résultat string

Yes public_oe static_oe property

Yes text
public static string Yes
Résultat string