Hi there,
I am trying to create a simple client/server application. Very basic - Client connects to server, client sends message to server - server receives message and broadcasts to any other connected clients.
As I say - it is supposed to be simple and for the purpose of self teaching...
Ok. So does this mean that I have to put my draw code in the paintevent as opposed to in a seperate module, or do you mean I have to call my module from the paintevent?
Sorry if I am being a bit dense.
Thank you for your reply.
Does this mean that I would need to draw both images into 1 picture box? Or does the form itself have a Paint Event?
Also why is it bad to call CreateGraphics ourself? I only ask so that I can better understand.
Thanks again.
Thank you for your reply. I am not 100% sure what you mean, so I have posted the main form code and the code that is used to draw the images. I hope that I am right.
Imports System.Threading
Public Class MainGameView
Private Sub MainGameView_Load(sender As Object, e As EventArgs)...
Hi there, You will see I am new to the forums so please be kind :)
I have a form, on which I draw an animated star field which is updated on a tick from a timer control, I have overlaid on the star field another graphic which represents the interior of a space ship. I am trying to make a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.