Radio GUI
Create the GUI for the radio as shown in Fig. 2.44 below.
- Manipulating the Forms properties. Change the Font property to 9pt Segoe UI. Change the Forms Text property to Radio and the Size to 427, 194.
- Adding the Pre-set Stations GroupBox and Buttons. Set the GroupBoxs Size to 180, 55 and its Text to Pre-set Stations. Add six Buttons to the GroupBox. Set each ones Size to 23, 23. Change the Buttons Text properties to 1, 2, 3, 4, 5, 6, respectively.
- Adding the Speakers GroupBox and CheckBoxes. Set the GroupBoxs Size to 120, 55 and its Text to Speakers. Add two CheckBoxes to the GroupBox. Set the Text properties for the CheckBoxes to Rear and Front.
- Adding the Power On/Off Add a Button to the Form. Set its Text to Power On/Off and its Size to 75, 55.
- Adding the Volume Control GroupBox, the Mute CheckBox and the Volume Add a GroupBox to the Form. Set its Text to Volume Control and its Size to 180, 70. Add a CheckBox to the GroupBox. Set its Text to Mute. Add a TrackBar to the GroupBox.
- Adding the Tuning GroupBox, the radio station Label and the AM/FM Add a GroupBox to the Form. Set its Text to Tuning and its Size to 120, 70. Add a Label to the GroupBox. Set its AutoSize to False, its Size to 50, 44, its BackColor to Black, its ForeColor to Silver, its font to 12pt bold and its TextAlign to MiddleCenter. Set its Text to 92.9. Place the Label as shown in the figure. Add two RadioButtons to the GroupBox. Set the Text of one to AM and of the other to FM.
- Adding the image. Add a PictureBox to the Form. Set its SizeMode to StretchImage and its Size to 55, 70. Set the Image property to MusicNote.gif (located in the examples folder for Chapter 2).
Grading Rubric
Please refer to the rubric on the next page for the grading criteria for this assignment.
Reviews
There are no reviews yet.