trackbar ekledikten sonra trackbar a çift tıklayarak şu kodu yazalım
Public Class Form1
Private Sub TrackBar1_ValueChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TrackBar1.ValueChanged
Me.Opacity = TrackBar1.Value / 5
End Sub
End Class