Represents a delegate that can execute any method in managed code that is declared void and takes no parameters.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
provides a simple delegate that is used to invoke a method with a void parameter list. This delegate can be used when making calls to a control's Invoke method, or when you need a simple delegate but do not want to define one yourself.
The following code example demonstrates how to use a to call a method that updates the title bar of the application form.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2