System.Windows.Forms.Button.PerformClick Method

Generates a Control.Click event for a button.

Syntax

public void PerformClick ()

Remarks

This method can be called to raise the Control.Click event.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0