C# Класс System.Windows.Forms.MessageBoxManager

Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
Abort string
Cancel string
Ignore string
No string
OK string
Retry string
Yes string

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

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

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

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

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

Register() публичный статический метод

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

Unregister() публичный статический метод

Disables MessageBoxManager functionality
Disables MessageBoxManager functionality on current thread only.
public static Unregister ( ) : void
Результат void

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

Abort публичное статическое свойство

Abort text
public static string Abort
Результат string

Cancel публичное статическое свойство

Cancel text
public static string Cancel
Результат string

Ignore публичное статическое свойство

Ignore text
public static string Ignore
Результат string

No публичное статическое свойство

No text
public static string No
Результат string

OK публичное статическое свойство

OK text
public static string OK
Результат string

Retry публичное статическое свойство

Retry text
public static string Retry
Результат string

Yes публичное статическое свойство

Yes text
public static string Yes
Результат string