Public Class frmMaze
02
03
04
05
Private Sub frmMaze_KeyDown(sender As Object, e As KeyEventArgs) Handles Me.KeyDown
06
07
If e.KeyCode = Keys.Up Then
08
09
End If
10
End Sub
11
12
Private Sub frmMaze_Load(sender As Object, e As EventArgs) Handles MyBase.Load
13
14
End Sub
15
16
Private Sub frmMaze_Paint(sender As Object, e As PaintEventArgs) Handles Me.Paint
17
Dim brush As New SolidBrush(Color.Black)
18
Dim g As Graphics = Me.CreateGraphics
19
g.FillEllipse(brush, 50, 40, 10, 10)
20
21
End Sub
22
23
End Class
1 Replies - 207 Views - Last Post: 26 June 2012 - 01:16 PM
#1
Question: How To Create And Move A Circle In A Maze
Posted 26 June 2012 - 01:03 PM
Hi im a beginner in visual basic and i am working on a maze that that your are supposed to move a ball or circle using he arrow keys and i can not figure out how to make my circle move thanks
Replies To: Question: How To Create And Move A Circle In A Maze
#2
Re: Question: How To Create And Move A Circle In A Maze
Posted 26 June 2012 - 01:16 PM
Do not create a duplicate topic. Click the 'report' button on the post and explain you want the post moved from there to here.
Page 1 of 1
|
|

New Topic/Question
This topic is locked



MultiQuote






|