[archived content]

Form.close method

public void close()

Attempts to close the Form and destroy its window handle. OnClosing() method and closing event are first called to allow the close to be canceled. This allows you to first ask the user if they wish to continue working, save their work, remain in the program, etc.

See also: CancelEventArgs

Page last modified on May 07, 2007, at 11:22 AM