-
Notifications
You must be signed in to change notification settings - Fork 0
/
AboutBox1.vb
38 lines (29 loc) · 1.77 KB
/
AboutBox1.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Public NotInheritable Class AboutBox1
Private Sub AboutBox1_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 = My.Application.Info.Version.Major & "." & My.Application.Info.Version.Minor & "." & My.Application.Info.Version.Build & "." & My.Application.Info.Version.Revision
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
Private Sub LabelVersion_Click(sender As Object, e As EventArgs) Handles LabelVersion.Click
End Sub
Private Sub LabelCopyright_Click(sender As Object, e As EventArgs) Handles LabelCopyright.Click
End Sub
Private Sub TextBoxDescription_TextChanged(sender As Object, e As EventArgs) Handles TextBoxDescription.TextChanged
End Sub
End Class