December 2001
Intermediate to advanced
416 pages
8h 16m
English
There are three primary button controls—conventional click event buttons, radio buttons, and check box buttons—as pictured in Figure 6.13:

The Button control. Buttons are used to signal that a particular action should now occur. In Figure 6.13, we provide three buttons: OK, Clear, and Quit. The primary Button event is a user's click. For example,
protected void button1_Click( object sender, EventArgs e ) { int cnt = 0; // figure out which images were selected for ( int ix = 0; ix < imageSet.Count; ++ix ) if ( imageSet[ ix ] ) { image += imageTitle[ ix ]; cnt++; } ...Read now
Unlock full access