39 lines
1.7 KiB
VB.net
39 lines
1.7 KiB
VB.net
Public NotInheritable Class AboutBox1
|
|
|
|
Private Sub AboutBox1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
|
|
' Legen Sie den Titel des Formulars fest.
|
|
Dim ApplicationTitle As String
|
|
If My.Application.Info.Title <> "" Then
|
|
ApplicationTitle = My.Application.Info.Title
|
|
Else
|
|
ApplicationTitle = System.IO.Path.GetFileNameWithoutExtension(My.Application.Info.AssemblyName)
|
|
End If
|
|
|
|
If USER_LANGUAGE = "de-DE" Then
|
|
Me.Text = String.Format("Information zu: {0}", ApplicationTitle)
|
|
Else
|
|
Me.Text = String.Format("Informations about: {0}", ApplicationTitle)
|
|
End If
|
|
|
|
' Initialisieren Sie den gesamten Text, der im Infofeld angezeigt wird.
|
|
' TODO: Die Assemblyinformationen der Anwendung im Bereich "Anwendung" des Dialogfelds für die
|
|
' Projekteigenschaften (im Menü "Projekt") anpassen.
|
|
lblProduktname.Text = My.Application.Info.ProductName
|
|
Me.lblVersion.Text = String.Format("Version {0}", My.Application.Info.Version.ToString)
|
|
Me.lblCompanyName.Text = My.Application.Info.CompanyName
|
|
Me.txtDescription.Text = My.Application.Info.Description
|
|
End Sub
|
|
|
|
Private Sub OKButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OKButton.Click
|
|
Me.Close()
|
|
End Sub
|
|
|
|
|
|
Private Sub LinkLabel1_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked
|
|
' Specify that the link was visited.
|
|
Me.LinkLabel1.LinkVisited = True
|
|
' Navigate to a URL.
|
|
System.Diagnostics.Process.Start("http://www.didalog.de")
|
|
End Sub
|
|
End Class
|