Re: Radio button group event?
"Eames, Andrew" <[email protected]> Wed, 13 Feb 2008 09:41:28 -0500
| Newsgroups | gmane.comp.windows.devel.dotnet.winforms |
|---|---|
| Message-ID | <[email protected]> |
I found it useful to build a RadioButtonList control that has a "Value" property and a "ValueChanged" event. It is useful in a number of scenarios including databinding Andrew -----Original Message----- From: Discussion forum for developers using Windows Forms to build apps and controls [mailto:[email protected]] On Behalf Of Brady Kelly Sent: Wednesday, February 13, 2008 7:28 AM To: [email protected] Subject: [DOTNET-WINFORMS] Radio button group event? I have a control with several radio buttons used to choose a column delimiter for text files. If I want to raise a DelimiterChanged event from my control, I have to attach an event handler to the CheckChanged event of each constituent radio button. Is there another way of doing this? Say I wanted to add ten more explicit delimiter choices, I wouldn't like to have to code ten more delegate assignments, as little work as it is. --=20 BEGIN-ANTISPAM-VOTING-LINKS ------------------------------------------------------ NOTE: This message was trained as non-spam. If this is wrong, please correct the training as soon as possible. Teach CanIt if this mail (ID 10917513) is spam: Spam: http://mail-gw.cognex.com/canit/b.php?c=3Ds&i=3D10917513&m=3Db10f37c30774= Not spam: http://mail-gw.cognex.com/canit/b.php?c=3Dn&i=3D10917513&m=3Db10f37c30774= Forget vote: http://mail-gw.cognex.com/canit/b.php?c=3Df&i=3D10917513&m=3Db10f37c30774= ------------------------------------------------------ END-ANTISPAM-VOTING-LINKS