Form

class Form : ContainerControl , IDialogResult {
HWND _lastSelBtn;
HWND _lastSel;
HWND _hadfocus;
MainMenu wmenu;
MdiClient _mdiClient;
}

Members

Functions

activate
void activate()
addShortcut
void addShortcut(Keys shortcut, void delegate(Object sender, FormShortcutEventArgs ea) pressed)
void addShortcut(Keys shortcut, void delegate(Object sender, EventArgs ea) pressed)
centerToParent
void centerToParent()
centerToScreen
void centerToScreen()
close
void close()
createMdiClient
MdiClient createMdiClient()
layoutMdi
void layoutMdi(MdiLayout lay)
mdiChildren
Form[] mdiChildren()
onActivated
void onActivated(EventArgs ea)
onClosed
void onClosed(EventArgs ea)
onClosing
void onClosing(CancelEventArgs cea)
onDeactivate
void onDeactivate(EventArgs ea)
onLoad
void onLoad(EventArgs ea)
removeShortcut
void removeShortcut(Keys shortcut)
setDesktopBounds
void setDesktopBounds(int x, int y, int width, int height)
setDesktopLocation
void setDesktopLocation(int x, int y)
showDialog
DialogResult showDialog()
DialogResult showDialog(IWindow iwsowner)

Properties

acceptButton
IButtonControl acceptButton [@property setter]
IButtonControl acceptButton [@property getter]
activeForm
Form activeForm [@property getter]
cancelButton
IButtonControl cancelButton [@property setter]
IButtonControl cancelButton [@property getter]
controlBox
bool controlBox [@property setter]
bool controlBox [@property getter]
desktopBounds
Rect desktopBounds [@property setter]
Rect desktopBounds [@property getter]
desktopLocation
Point desktopLocation [@property setter]
Point desktopLocation [@property getter]
dialogResult
DialogResult dialogResult [@property setter]
DialogResult dialogResult [@property getter]
formBorderStyle
FormBorderStyle formBorderStyle [@property setter]
FormBorderStyle formBorderStyle [@property getter]
getActiveMdiChild
Form getActiveMdiChild [@property getter]
helpButton
bool helpButton [@property setter]
bool helpButton [@property getter]
icon
Icon icon [@property setter]
Icon icon [@property getter]
isMdiChild
bool isMdiChild [@property getter]
isMdiContainer
bool isMdiContainer [@property setter]
bool isMdiContainer [@property getter]
maximizeBox
bool maximizeBox [@property setter]
bool maximizeBox [@property getter]
maximumSize
Size maximumSize [@property setter]
Size maximumSize [@property getter]
mdiParent
Form mdiParent [@property setter]
Form mdiParent [@property getter]
menu
MainMenu menu [@property setter]
MainMenu menu [@property getter]
minimizeBox
bool minimizeBox [@property setter]
bool minimizeBox [@property getter]
minimumSize
Size minimumSize [@property setter]
Size minimumSize [@property getter]
modal
bool modal [@property getter]
opacity
double opacity [@property setter]
double opacity [@property getter]
owner
Form owner [@property setter]
Form owner [@property getter]
showInTaskbar
bool showInTaskbar [@property setter]
bool showInTaskbar [@property getter]
sizingGrip
bool sizingGrip [@property setter]
bool sizingGrip [@property getter]
startPosition
FormStartPosition startPosition [@property setter]
FormStartPosition startPosition [@property getter]
supportsOpacity
bool supportsOpacity [@property getter]
topMost
bool topMost [@property setter]
bool topMost [@property getter]
transparencyKey
Color transparencyKey [@property setter]
Color transparencyKey [@property getter]
windowState
FormWindowState windowState [@property setter]
FormWindowState windowState [@property getter]

Variables

activated
Event!(Form, EventArgs) activated;
closed
Event!(Form, EventArgs) closed;
closing
Event!(Form, CancelEventArgs) closing;
deactivate
Event!(Form, EventArgs) deactivate;
load
Event!(Form, EventArgs) load;

Inherited Members

From ContainerControl

activeControl
Control activeControl [@property getter]
Control activeControl [@property setter]
activateControl
bool activateControl(Control ctrl)
parentForm
Form parentForm [@property getter]

Meta