C# Класс View3d, code

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

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

Метод Описание
SwitchParentChildWindows ( bool bParentActive, object parent, object dlg ) : void

Switches between modal sub dialog and parent form, when sub dialog does not needs to be destroyed (e.g. selecting something from parent form)

getHandle ( object formOrWindow ) : IntPtr,

Extracts window handle in technology independent wise.

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

Метод Описание
BringWindowToTop ( IntPtr, hWnd ) : bool
EnableWindow ( IntPtr, hWnd, bool bEnable ) : bool
IsWindowEnabled ( IntPtr, hWnd ) : bool
SetForegroundWindow ( IntPtr, hWnd ) : bool
ShowWindow ( IntPtr, hWnd, int nCmdShow ) : bool

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

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

Switches between modal sub dialog and parent form, when sub dialog does not needs to be destroyed (e.g. selecting something from parent form)
static public SwitchParentChildWindows ( bool bParentActive, object parent, object dlg ) : void
bParentActive bool true to set parent form active, false - child dialog.
parent object parent form or window
dlg object sub dialog form or window
Результат void

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

Extracts window handle in technology independent wise.
static public getHandle ( object formOrWindow ) : IntPtr,
formOrWindow object form or window
Результат IntPtr,