Syllabus

Home

Class Resources

News

CS-100 In-Class Project: The Rainbow Calculator

Instructions:

  1. Draw the form shown above that represents a calculator.
  2. Name the form frmCalc and set the Text to Rainbow Calculator.
  3. There are 12 buttons that make up the keypad. Name each for the digit they represent - like btnOne - plus btnDot for the period and btnDash for the minus sign. Set the color of each button as you prefer. You don't have to pick the same ones shown here.
  4. On the right are 5 more buttons for the calculator functions. Name them btnAdd, btnSub, etc. Set theit color to light blue.
  5. At the bottom is a text box to show the values entered. Name it txtResult and set the background as shown. Leave the text blank.
  6. Finally there are two more buttons. Name them btnClear and btnStop.