Z
Zivanovic
Guest
Hello,
I've just started learning programming and started with C#. I'm working in Visual Studio C# .Net and bought a book with example programs with code. So i stumbled upon an example(the description text from the example is the following "To all RadioBox-es apply one universal Click Event threw which the object sender appoints which RadioButton is clicked )" where it is written that i have to assign an universal Click event on Radio boxes(Three radio boxes). In the answer, or to be exact in the finished code, when assigned it shows up like this:
private void rbPrevozUniversal_Click(object sender, EventArgs e)
{
}
Hhow do i assign the universal click event on those 3 radio boxes? I'm literally new to all this i know its a stupid question but can't find the solution.
An extra thing, the radio boxes are inside the groupBox and i need the universal event click because i'm trying to learn how StringBuilder and object sender function.
Thanks.
Continue reading...
I've just started learning programming and started with C#. I'm working in Visual Studio C# .Net and bought a book with example programs with code. So i stumbled upon an example(the description text from the example is the following "To all RadioBox-es apply one universal Click Event threw which the object sender appoints which RadioButton is clicked )" where it is written that i have to assign an universal Click event on Radio boxes(Three radio boxes). In the answer, or to be exact in the finished code, when assigned it shows up like this:
private void rbPrevozUniversal_Click(object sender, EventArgs e)
{
}
Hhow do i assign the universal click event on those 3 radio boxes? I'm literally new to all this i know its a stupid question but can't find the solution.
An extra thing, the radio boxes are inside the groupBox and i need the universal event click because i'm trying to learn how StringBuilder and object sender function.
Thanks.
Continue reading...