Using C#, create a graphical user interface that can be used by a community group to enable youths to sign up for different sporting events. Include radio buttons with a minimum of five sports. Wire a single event-handler method to each of the radio buttons. Program the method to display a different message for each different sport. For example, if one of the sports is skiing, the message might say, “Bring warm clothes!” Also include a PictureBox object on the form to display a different picture based on which sporting event was selected.
Using C#, create a graphical user interface that can be used by a community group to enable youths to sign up for different sporting events. Include radio buttons with a minimum of five sports. Wire a single event-handler method to each of the radio buttons. Program the method to display a different message for each different sport. For example, if one of the sports is skiing, the message might say, “Bring warm clothes!” Also include a PictureBox object on the form to display a different picture based on which sporting event was selected. One approach would be to layer multiple picture box objects in the same location. When the particular sport is selected, make the associated PictureBox visible. You can find free graphics on the Internet to use in your application. Hint: One way to associate a file to the PictureBox control is to Import an image from the Image property.
Trending now
This is a popular solution!
Step by step
Solved in 5 steps