Загрузка...

C# Programming Challenge 14.11: Typing Tutor Part 3 (C# KeyPress Event, C# winforms, form controls)

Visual C# How To Program C# Programming Challenge 14.11: Typing Tutor Part 3 (C# KeyPress Event, C# winforms, C# form controls) We finish the app by collecting statistics about user typing skills. We utilize C# event handling and C# form controls to collect and display the information Typing quickly and correctly is an essential skill for working effectively with computers and the Internet. In this exercise, you’ll build an app that can help users learn to “touch type” (i.e., type correctly without looking at the keyboard). The app should display a virtual keyboard that mimics the one on your computer and should allow the user to watch what he or she is typing on the screen without looking at the actual keyboard. Use Buttons to represent the keys. As the user presses each key, the app highlights the corresponding Button and adds the character to a TextBox that shows what the user has typed so far. [Hint: To highlight a Button, use its BackColor property to change its background color. When the key is released, reset its original background color.] You can test your program by typing a pangram — a phrase that contains every letter of the alphabet at least once — such as “The quick brown fox jumped over a lazy dog.” You can find other pangrams on the web. To make the program more interesting you could monitor the user’s accuracy. You could have the user type specific phrases that you’ve prestored in your program and that you display on the screen above the virtual keyboard. You could keep track of how many keystrokes the user types correctly and how many are typed incorrectly. You could also keep track of which keys the user is having difficulty with and display a report showing those keys. Learning to code? Follow my C# tutorials for beginners. I do a lot of C# programming challenges and C# projects as part of my homework - every day! If you are learning to program, nothing beats solving real programming exercises and coding challenges. So don't forget to subscribe, as I release several programming videos every week! DOWNLOAD SOURCE CODE: http://www.codinghomework.com/?p=876

Видео C# Programming Challenge 14.11: Typing Tutor Part 3 (C# KeyPress Event, C# winforms, form controls) автора Comparison of Brands and Models
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки