Monday, October 15, 2018

How do I react to a WinForms radio button being clicked in C#?

Wire up an event to your radio button like so:

myButton.CheckedChanged += RadioButtonCheckedChanged;

 
 

This will naturally require a method with a signature like so:

private void RadioButtonCheckedChanged(object sender, EventArgs e)
{

No comments:

Post a Comment