初始化项目
This commit is contained in:
29
BLV_Studio/Control/FrmAboutDialog.vb
Normal file
29
BLV_Studio/Control/FrmAboutDialog.vb
Normal file
@@ -0,0 +1,29 @@
|
||||
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
|
||||
Reference in New Issue
Block a user