Application: I am writing a small game that will teach the user how to read music. The game is very simple. The application displays the note, and my little daughter (the target user) must hit the emulated keyboard key in the WinForm GUI corresponding to the note. She has 1 minute to get as many good hits as she can. Success and failure are taken into account.
Task: When she presses the "good / bad keyboard" button, I want to immediately confirm whether she is right or not, without interrupting the game. My plan is to show an OK or FAILED bitmap that fades out and becomes completely transparent within ~ 2 seconds. Fading a bitmap is a great way to get the user to focus on the next note and not worry about the previous result anymore.
Technical question: How can I display a bitmap in Windows form with transparency? Or do you have alternative non-intrusive, easy-to-implement ideas that let the user know about the current good / bad choice?
c # image winforms transparency fadeout
Mr. Lame
source share