Here's a video showing how to replace the control.
And here are the written instructions from Bosch (click to enlarge):
In the video, the re-programming portion is the last 30 seconds or so of the video. Notice that what they show in the video doesn't quite match up with what's shown in the video, in particular, the programming code shown in the display. In the video, you see him cycle through a series of programming codes from 20 through 29 (this is how you'll usually see it in the field for models with the LED display) until he gets the code he wants, in his case, "21."
In the written instructions, OTOH, they talk about programming codes of C0 through C4. The discrepancy is that in the written instructions, they're using "C" to mean "code." On the display, just ignore the first number ("2") and go by the the second number that changes as you cycle through it.
So, for example, if your model number is SHU43C06UC, the target code is "1" and you cycle through until you see "21" in the display.
Use your model number to look up and buy the replacement control board here. Comes with a full one-year, no-hassle warranty, even after it's already been installed!
Source: Bosch D/W Model# shu43c06uc/17