You are on page 1of 1

Private Sub RectangleShape1_Paint(ByVal sender As Object, ByVal e As

System.Windows.Forms.PaintEventArgs) Handles RectangleShape1.Paint


Dim s As String = "Aquateh Skid Database"
Dim f As Font = New System.Drawing.Font("Verdana", 15.75, FontStyle.Bold)
Dim p As New Point(RectangleShape1.Location.X + 5,
RectangleShape1.Location.Y + 10)
Dim g As Graphics = e.Graphics
g.DrawString(s, f, Brushes.AliceBlue, p)
End Sub

You might also like