private void HandleDaqTemperatureSourceSet(bool isDaqTempSource)
{
string text;
Image image;
if (isDaqTempSource) {
text = "Temperature Sensor: DAQ (click to change)";
image = Properties.Resources.Temp_Sensor_01;
}
else {
text = "Temperature Sensor: Anemometer (click to change)";
image = Properties.Resources.Temp_Sensor_02;
}
simpleButtonTempSource.SetPropertyThreadSafe(() => simpleButtonTempSource.Text, text);
simpleButtonTempSource.SetPropertyThreadSafe(() => simpleButtonTempSource.Image, image);
}