﻿<?xml version="1.0" encoding="utf-8"?><Type Name="FormClosingEventHandler" FullName="System.Windows.Forms.FormClosingEventHandler"><TypeSignature Language="C#" Value="public delegate void FormClosingEventHandler(object sender, FormClosingEventArgs e);" /><AssemblyInfo><AssemblyName>System.Windows.Forms</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Delegate</BaseTypeName></Base><Parameters><Parameter Name="sender" Type="System.Object" /><Parameter Name="e" Type="System.Windows.Forms.FormClosingEventArgs" /></Parameters><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Docs><param name="sender">To be added.</param><param name="e">To be added.</param><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="E:System.Windows.Forms.Form.FormClosing" /> event occurs just before a form is closed, either by the user, through the user interface (UI), or programmatically, through calls to methods such as <see cref="M:System.Windows.Forms.Form.Close" /> in the <see cref="T:System.Windows.Forms.Form" /> class, or <see cref="M:System.Windows.Forms.Application.Exit" /> in the <see cref="T:System.Windows.Forms.Application" /> class. This event can be canceled.</para><para>When you create a <see cref="T:System.Windows.Forms.FormClosingEventHandler" /> delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see <format type="text/html"><a href="d98fd58b-fa4f-4598-8378-addf4355a115">Events and Delegates</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents the method that handles a <see cref="E:System.Windows.Forms.Form.FormClosing" /> event.</para></summary></Docs></Type>