初始化项目

This commit is contained in:
2025-12-11 14:22:51 +08:00
commit 4243e3e4d8
919 changed files with 840529 additions and 0 deletions

33
BLV_Studio/LinkFrm.vb Normal file
View File

@@ -0,0 +1,33 @@
Public Class link_frm
Public filename As String =""
Public filepath As String =""
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
If String.IsNullOrEmpty (TextBox1.Text) Then
TextBox1.Text=filename
Else
End If
Me.DialogResult = System.Windows.Forms.DialogResult.OK
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Using openFileDialog As New OpenFileDialog
Dim tmpInitDir As String = Application .StartupPath
openFileDialog.InitialDirectory = tmpInitDir
openFileDialog.RestoreDirectory = True
openFileDialog.Title = "打开文件"
'openFileDialog.Filter = $"配置文件(*.xml)|*.xml"
If openFileDialog.ShowDialog() = DialogResult.OK Then
filename=openFileDialog.SafeFileName
filepath=openFileDialog.FileName
TextBox2.Text =filepath
End If
End Using
End Sub
End Class