xtd 0.2.0
Loading...
Searching...
No Matches

◆ close()

void xtd::forms::form::close ( )

Closes the form.

Remarks
When a form is closed, all resources created within the object are closed and the form is disposed. You can prevent the closing of a form at run time by handling the closing event and setting the cancel property of the cancel_event_args passed as a parameter to your event handler. If the form you are closing is the startup form of your application, your application ends.
Examples
form2.cpp.