|
|
| | |
Next Coding Challenge: Printing Posted: 07 Feb 08 10:37 AM (Canada) |
| | |
After last Monday's session, we learned Printing is heavy on the exam, therefore I'm thinking of a way to help cement all the printing concepts in preparation for writting the exam. Here we go! :>
Create an application which will allow the user (that's you :>) to select a font (name and size, use a FontDialog to make your life easier), the number of time to print it out and a Print button. Then code up the logic to use that info and successfully print it out.
Simple enough right?
The trick here is setting up the printing document properly using the Font information the user specified as well as calculating the height of the text to print out (doesn't matter what, anything you want) and lastly, figuring out when to stop printing.
Not challenging enough for ya? Change the number of times to print to the number of pages to print. Then setup a Cancel button. Then setup the form to email you when the printing is done! Still not hard enough? Goto sleep cause by now you've mastered Printing and it's late enough! :>>>>
|
| |
| | |
Re: Next Coding Challenge: Printing Posted: 12 Feb 08 9:35 PM (N/A) |
| | |
| Here is my solution to the Printing Coding Challenge (attachment). There are three projects in the zip file, one is playing around, one is from the lab and one is the answer to the challenge. I hope you enjoyed this one. Watch out soon for the next one. |
Chapter10-PrintingInWindowsForms.zip |
| |
| | .NET Development MCTS 70-526 Study Group Next Coding Challenge: Printing | | |
| | | |