Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
Ja ich hab den Code von Hornswoggle probiert aber dort überdeckt die Picturebox (die Tietelleiste) den Text
Ja,das hab ich auch schon beschrieben,der text muss direkt in die PictureBox gezeichnet werden aber wie?
Private Sub PictureBox1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs)
Dim g As Graphics = e.Graphics
g.DrawString("meinTEXT",_
New Font("Tahoma", 20, FontStyle.Bold), Brushes.Red, New PointF(10.0F, 10.0F))
End Sub
pictureBox1.BackgroundImage = My.Resources.a380_home_fly_home
pictureBox1.BackgroundImageLayout = ImageLayout.Stretch
Public Class Form1
Private pictureBox1 As New PictureBox()
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' Dock the PictureBox to the form and set its background to white.
pictureBox1.Dock = DockStyle.Fill
pictureBox1.BackColor = Color.Transparent
pictureBox1.BackgroundImage = My.Resources.a380_home_fly_home
pictureBox1.BackgroundImageLayout = ImageLayout.Stretch
' Connect the Paint event of the PictureBox to the event handling method.
AddHandler pictureBox1.Paint, AddressOf Me.PictureBox1_Paint
' Add the PictureBox control to the Form.
Me.Controls.Add(pictureBox1)
End Sub
Private Sub PictureBox1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs)
Dim g As Graphics = e.Graphics
g.DrawString("meinTEXT", New Font("Tahoma", 20, FontStyle.Bold), Brushes.Red, New PointF(200.0F, 250.0F))
End Sub
End Class