Aliens Boxes Code

Private Sub Stats_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

this code will create the label boxes on the screen - it creates the male

votes and percent labels. You have to duplicate the code and create the

Programming Assignment Help Order Now

Female votes and Percent labels and the TOTAL votes and percent labels

the key to doing this is the "new Point' coordinates the first number

(100 + 50 * col) calculates how far left from the edge of the screen to

start drawing. The second number, (100 + 30 * row) calculates how far

down from the top of the screen to start drawing

For Col = 0 To 2

For Row = 0 To 4

LblMaleV(LblIndex) = New Label()

LblMaleV(LblIndex).BorderStyle = BorderStyle.Fixed3D

LblMaleV(LblIndex).Width = 30

LblMaleV(LblIndex).Location = New Point(100 + 150 * Col, 100 + 30 * Row)

Controls.Add(LblMaleV(LblIndex))

LblMaleP(LblIndex) = New Label()

LblMaleP(LblIndex).BorderStyle = BorderStyle.Fixed3D

LblMaleP(LblIndex).Width = 50

LblMaleP(LblIndex).Location = New Point(150 + 150 * Col, 100 + 30 * Row)

Controls.Add(LblMaleP(LblIndex))

LblIndex += 1

Next Row

Next Col

LblIndex = 0

For Col = 0 To 2

For Row = 0 To 4

ADD FEMALE CODE IN HERE

Next Row

Next Col

LblIndex = 0

For Col = 0 To 2

For Row = 0 To 4

ADD TOTAL CODE IN HERE

Next Row

Next Col

Visual Basic Assignment Help | Aliens Boxes Code Sample Assignment Help | Aliens Boxes Code Online Help | Aliens Boxes Code Homework Help | Visual Basic | Study Visual Basic | Visual Basic Online Tutor | Visual Basic Homework Help | Visual Basic Help | Visual Basic Solutions | Visual Basic Problems | Visual Basic Tutor | Visual Basic Online Tutoring | Tutoring Services | Private Tutors | Writing Help | Term Paper Help | Assignment Help | Online Tutoring | Sample Homework