documentviewer test
This commit is contained in:
@@ -12,22 +12,14 @@ Public Class Form1
|
||||
End Sub
|
||||
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
|
||||
Try
|
||||
Dim oKey = "0467389434974657969312056"
|
||||
Dim oLogConfig As New LogConfig(LogConfig.PathType.CurrentDirectory)
|
||||
Dim oSubform As New Form2(oLogConfig, oKey)
|
||||
|
||||
oSubform.FilePath = TextBox1.Text
|
||||
oSubform.ShowDialog()
|
||||
oSubform.Show()
|
||||
Catch ex As Exception
|
||||
MsgBox(ex.Message)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
||||
Dim oKey = "0467389434974657969312056"
|
||||
Dim oLogConfig As New LogConfig(LogConfig.PathType.CurrentDirectory)
|
||||
oSubform = New Form2(oLogConfig, oKey)
|
||||
End Sub
|
||||
|
||||
Private Sub Form1_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing
|
||||
|
||||
End Sub
|
||||
|
||||
|
||||
End Class
|
||||
|
||||
Reference in New Issue
Block a user