I know for a button, I can do this:
this.button1.Click += new System.EventHandler(this.button_Click);
But how can I do it for a radio button?
How about:
radioButton1.Click += new RoutedEventHandler(radioButton1_Click);
private void radioButton1_Click(object sender, RoutedEventArgs e)
{
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With