Quiz #10 (the last one)!

1. You have a Windows form with a button (named btnAdd) and a text box (named txtNumber). What code do you write in the event handler for btnAdd (when it is clicked) to add 100 to the text box? (You can assume that a valid integer is in the text box - but recall that that integer is actually a text string.

2. You click on the format menu and then click on the menu item "Font...". This will invoke the Font menu item event handler. What code do you write in this event handler to show the Font dialog box?