32 Program for Panel Control in VB.NET

Form Design:



Code:

Public Class Form1
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        Panel1.BackColor = Color.Red
        ' Me.TransparencyKey = Color.Red
        Panel1.BorderStyle = BorderStyle.Fixed3D

        Panel1.Visible = True
    End Sub
End Class





Ouput:


Previous
Next Post »