Santiago Canyon College

C# 2005 Programming

Ron Kessler, Boss
PROJECT 1: Data Entry for a simple “Point Of Service” Retail Store

Phase 2

Description

  1. We are going to add some controls to your first project now. Add the controls in phase 2 of the property sheet below. Look at my sample for a reference.

  1. Look at the table below and add the controls for phase 2.

 

 

PROPERTY SHEET FOR VB 105 PROJECT 1, PHASE 2
     
     
OBJECT PROPERTY Value
     
Form Name frmMain
  Text Welcome to SCC Bookstore
  StartPosition Center Screen
  BackColor Choose nice color
     
     
Labels Name Don't change
  Font Size 10 pt
  Forecolor Blue
  Autosize False
     
List Box Name lbItems or lstItems
  Sorted True
  Items Add at least 8 items of your choice
     
Button for checking out Name btnCheckout
  Text &Check Out
  ForeColor Pick any color
     
Button for clearing form Name btnClear
  Text C&lear
  ForeColor Pick any color
     
Button to exit Name btnExit
  Text E&xit
  ForeColor Pick any color
     
LinkLabel Name lnkWeb
  Text Check us out online
Start of Phase 2
Textboxes for item, price, Name txtItem, txtPrice, txtQuantity, txtBalanceDue
quantity, balance due. Text Item, Price, Tax, Balance Due
  FontSize 10points
  Size 60, 20
  TextAlign Right
     
     
Picture Box Name picStore
  Image You choose one
  Size 120, 120
  SizeMode Autosize
     
     
Label for Receipt Name lblReceipt
(Gray box on the form) Size 250, 52
  BackColor Pick something
  1. Now, go into VS and add prices for each of the items in the list box. Select the list box and open the items property editor box as you did when you added the items.
  2. Put your cursor at the end of the first item and then USE THE SPACE BAR (not the TAB) and move over 20 spaces or so and add some prices. Do not try to line them up. Just make sure you move the prices over a ways. When the list box is on screen, I do not want customers to see the prices.
  3. We will start coding this beauty after you all finish with the design part.