How do I use code to insert a new PictureBox onto my form in VB.NET?
that's all I need, I've tried everywhere but can't seem to find out how..
that's all I need, I've tried everywhere but can't seem to find out how..
Me.PictureBox1 = New System.Windows.Forms.PictureBox
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.PictureBox1.BackColor = System.Drawing.Color.Transparent
Me.PictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.PictureBox1.Image = CType(resources.GetObject("PictureBox1.Image"), System.Drawing.Image)
Me.PictureBox1.Location = New System.Drawing.Point(44, -2)
Me.PictureBox1.Name = "PictureBox1"
Me.PictureBox1.Size = New System.Drawing.Size(358, 78)
Me.PictureBox1.TabIndex = 0
Me.PictureBox1.TabStop = False

Comment