Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
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