The OnCaptionDblClick event notifies when user double clicks the caption of the form.
You can write this event handler to make some specific actions when user double clicks the title bar of the form with mouse, for example, minimize the form to the system tray using MinimizeToTray method.