27 lines
1.3 KiB
VB.net
27 lines
1.3 KiB
VB.net
Public NotInheritable Class About
|
|
|
|
Private Sub About_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
|
|
' Définissez le titre du formulaire.
|
|
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
|
|
Me.Text = String.Format("À propos de {0}", ApplicationTitle)
|
|
' Initialisez tout le texte affiché dans la boîte de dialogue À propos de.
|
|
' TODO: personnalisez les informations d'assembly de l'application dans le volet "Application" de la
|
|
' boîte de dialogue Propriétés du projet (sous le menu "Projet").
|
|
Me.LabelProductName.Text = My.Application.Info.ProductName
|
|
Me.LabelVersion.Text = String.Format("Version {0}", My.Application.Info.Version)
|
|
Me.LabelCopyright.Text = My.Application.Info.Copyright
|
|
Me.LabelCompanyName.Text = My.Application.Info.CompanyName
|
|
Me.TextBoxDescription.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
|
|
|
|
End Class
|