30 lines
1.4 KiB
VB.net
30 lines
1.4 KiB
VB.net
|
|
Public NotInheritable Class FrmAboutDialog
|
|||
|
|
|
|||
|
|
Private Sub FrmAboutDialog_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
|
|||
|
|
' 设置此窗体的标题。
|
|||
|
|
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("关于 {0}", $"C系列配置工具")
|
|||
|
|
' 初始化“关于”对话框显示的所有文字。
|
|||
|
|
' 在项目的“应用程序”窗格中自定义此应用程序的程序集信息
|
|||
|
|
' 属性对话框(在“项目”菜单下)。
|
|||
|
|
Me.LabelProductName.Text = $"C系列配置工具" 'My.Application.Info.ProductName
|
|||
|
|
Me.LabelVersion.Text = String.Format(" 版本 v{0}", My.Application.Info.Version.ToString)
|
|||
|
|
Me.LabelCopyright.Text = $" 版权所属 白羽"
|
|||
|
|
Me.LabelCompanyName.Text = $"公司名称 深圳市宝来威智能科技有限公司"
|
|||
|
|
'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 TableLayoutPanel_Paint(sender As Object, e As PaintEventArgs) Handles TableLayoutPanel.Paint
|
|||
|
|
|
|||
|
|
End Sub
|
|||
|
|
End Class
|