Fermé

Buy yourself a coffee! QUICK HELP WANTED. Visual Basics

Have to put yellow circle into each black square of a checkers board.

I've started to comment the parts I understand, would like someone to continue commenting and complete problem.

Public Class Form1

Private Sub Form1_Paint(sender As Object, e As PaintEventArgs) Handles [login to view URL]

Dim ourgraphics As Graphics = [login to view URL]

Dim ourPen As New Pen([login to view URL], 2)

Dim red As New SolidBrush([login to view URL])

Dim b As New SolidBrush([login to view URL])

Dim y As New SolidBrush([login to view URL])

Dim width As Integer = 30

Dim height As Integer = 30

Dim xoffset As Integer

Dim yoffset As Integer

Dim blankspace As Integer

'this centers the board

blankspace = [login to view URL] - (8 * width)

xoffset = blankspace / 2

blankspace = [login to view URL] - (8 * height)

yoffset = blankspace / 2 - 10

'this centers the board

'adjusts length of board by 8 indexs

For i As Integer = 0 To 7

'adjusts width of board by 8 indexs

For j As Integer = 0 To 7

'if b is set to red then left column will be red

If [login to view URL] = [login to view URL] Then

[login to view URL] = [login to view URL]

'if b is set to red then next column will be red

Else

[login to view URL] = [login to view URL]

'if b is set to red then next column will be red IF NOT THEN ALL BLACK

End If

[login to view URL](b, (j) * width + xoffset, height * i + yoffset, width, height)

[login to view URL](ourPen, j * width + xoffset, height * i + yoffset, width, height)

Next j

If [login to view URL] = [login to view URL] Then

[login to view URL] = [login to view URL]

Else

[login to view URL] = [login to view URL]

End If

Next i

End Sub

End Class

Compétences : Conception graphique , Visual Basic, Programmation C++, JavaScript, Architecture Logicielle

en voir plus : bmi visual basics, help wanted telemarketing, digital timer clock visual basics, how to become a barista at home, working as a barista with no experience, cover letter for a coffee shop job with no experience, coffee shop resume no experience, basic barista knowledge, how to be a barista for dummies, working in a cafe skills, visual basic 2010 codes list, comic book help wanted, creative help wanted example, casual help wanted, animation visual basics projects videos, opening bat file visual basics, transcriber help wanted, reddot cms programmer help wanted, virtual transcription help wanted, copy editing help wanted

Concernant l'employeur :
( 5 commentaires ) Brooklyn, United States

Nº du projet : #27534461

3 freelancers are bidding on average $33 for this job

(1823 Commentaires)
8.0
grabovikmaran

Hello, I read your description in detail. I have experiences at web security and can help you. I am very excited on your project, and I am ready to start work immediately. I have skills: Javascript, Angular python and Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(29 Commentaires)
5.3
Sultankamocu

Dengan hormat, Kami, CV citra utama, adalah perusahan multimedia yang bergerak di bidang desain grafis dan percetakan. kami menerima desain grafis mulai dari desain logo, pamflet,flyer poster, x banner dan lain-lain, Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)
0.0