Write a program to synchronize the two thermometers shown in the Temperatures form in the figure below. When the scroll box of either thermometer is moved, the other thermometer should move to the corresponding temperature, and the two temperatures displayed above the thermometers should be updated. Note: F = (9/5)C + 32.
Suggested Control Names and Attributes( without container ):
Name Property | Text Property | Control Type | Notes |
frmTemperature | Temperature | Form | Holds Controls |
txtFahrenheit | TextBox | Displays Fahrenheit temperature. Read Only. | |
txtCelsius | TextBox | Displays Celsius temperature. Read Only. | |
vsbFahrenheit | VerticalScrollBar | Adjust Fahrenheit temperature | |
vsbCelsius | VerticalScrollBar | Adjust Celsius temperature |