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.
Panel panel = new Panel
//andere Properties setzen
this.Controls.Add(panel);
//irgendwas machen
panel.Dispose();
Public Class Form1
WithEvents p As Panel
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
' erstellen
p = New Panel
p.Parent = Me
p.BorderStyle = BorderStyle.FixedSingle
p.Location = New Point(10, 10)
p.Size = New Size(100, 100)
p.Visible = True
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
' löschen
p.Dispose()
End Sub
End Class