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

Represents a window or dialog box that that can natively enable or disable itself.
Наследование: Form
Показать файл Открыть проект

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

Метод Описание
SetNativeEnabled ( bool enabled ) : void

Natively disables the current form window. Using this method disables / Enables the current form without disabling the underlying controls, thus preventing the form's controls from going grey.

By disabling this form natively, using Form.Show(this) on a new form allows it to display just like a dialog modal (Ex: Form.ShowDialog(this)), but without blocking the thread

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

Метод Описание
GetWindowLong ( IntPtr hWnd, int nIndex ) : int
SetWindowLong ( IntPtr hWnd, int nIndex, int dwNewLong ) : int

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

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

Natively disables the current form window. Using this method disables / Enables the current form without disabling the underlying controls, thus preventing the form's controls from going grey.
By disabling this form natively, using Form.Show(this) on a new form allows it to display just like a dialog modal (Ex: Form.ShowDialog(this)), but without blocking the thread
protected SetNativeEnabled ( bool enabled ) : void
enabled bool Indicates whether this form is Enabled (true) or Disabled (false)
Результат void