Search results

  1. E

    Non-rectangular Pictureboxes?

    Is it possible to make a picturebox that is not rectangular? Such as a circle? If so, how?
  2. E

    Create picboxes via code

    After googling "Adding controls during runtime", I ended up with a code that works Public Class GameScreen Dim label1 As New Label() Private Sub GameScreen_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load label1.Size = New Size(200, 20)...
  3. E

    Create picboxes via code

    Me.PictureBox1 = New System.Windows.Forms.PictureBox CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit() Me.SuspendLayout() Me.PictureBox1.BackgroundImage = Global.Forest_Wars.My.Resources.Resources.Player_Interface...
  4. E

    Create picboxes via code

    Sorry if this has been asked/answered somewhere in the forums already, but I could not find it =s How can I create picture boxes using code? The application that I am making, the amount of picture boxes needed for a certain thing is not known, and is always changing (and im planing to put...
  5. E

    Multiple key events at same time?

    How can i code my application so that it can handle two sets of key events at the same time? For example, if I was making a game where one player used the WASD, and the other the arrow keys for moving, how can i make it so that both can move at the same time? The code I used only allows one to...
Top Bottom