System.Windows.Forms.RadioButton.OnClick Method

Raises the Control.Click event.

Syntax

protected override void OnClick (EventArgs e)

Parameters

e
An EventArgs that contains the event data.

Remarks

If the RadioButton.AutoCheck property is set to true, the RadioButton.Checked property is set to true when the System.Windows.Forms.RadioButton control is clicked.

Requirements

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