University of Iowa Computer Science Department

Quiz 10 - THE LAST ONE!

 

1. When you create a Windows form, you don't have to write any code to close, maximize, or minimize the form. What concept does this illustrate?

2. 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 already in the text box - but recall that that integer is actually a text string.)

CLAS CRA ACM | ©2005 The University of Iowa | Modified: .