Professional Documents
Culture Documents
Ex 3 pg 367 Lesson 4C 1. 2. 3. 4. Name, description, Option Exp Exit button form named MainForm Form layout by GUI standards: 5. 6. 7. Button same size & title cap. Labels left aligned, same height Colons, sentence cap. TextBoxs same size Title on Form
Name____________
1 pt 1 pt
________ ________
All controls named correctly KeyPress event correct Only numbers and backspace Calculate event correct If Current > = Previous then o Calculate gallons used o Calculate amount due o Display amount and gallons centered in label Format amount as currency Else o Message box invalid data Title and Prompt Ok button exclamation icon
1 pt
________
2 pts ________
8.
Clear
event correct xCurrent TextBox.TextChanged xPreviousTextBox.TextChanged clears the amount and gallons label
2 pts ________
9.