Table of Contents                    
                hide            
            
Group Box Codes
Example : How to Color the Group Box Background.
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load        
        GroupBox1.BackColor = Color.Red
End SubExample : How to Hide the Group Box.
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        GroupBox1.Visible = False        
End SubPrivate Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        GroupBox1.Visible = True
End SubPanel Codes
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        Panel1.Show()
        'Panel1.Visible = True
End SubExample : How to Hide the Panel.
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        Panel1.Hide()
        'Panel1.Visible = False
End SubExample : How to Color the Background of the Panel.
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        Panel1.BackColor = Color.Red
End SubExample : How to Set Border Line in the Panel Control.
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        Panel1.BorderStyle = BorderStyle.FixedSingle
End Sub 
0 Comments