forked from basildane/WakeOnLAN
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCrash.vb
More file actions
19 lines (15 loc) · 754 Bytes
/
Crash.vb
File metadata and controls
19 lines (15 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Public Class Crash
Public exception As Exception
Private Sub Crash_Load(sender As Object, e As EventArgs) Handles MyBase.Load
lError.Text = String.Format("{1}{0}{0}At {2} GMT.{0}Version {3}", Environment.NewLine, exception.Message, My.Computer.Clock.GmtTime.ToString, My.Application.Info.Version)
tStack.Text = exception.StackTrace
End Sub
Private Sub OK_Button_Click(ByVal sender As Object, ByVal e As EventArgs) Handles OK_Button.Click
DialogResult = DialogResult.OK
Close()
End Sub
Private Sub Cancel_Button_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Cancel_Button.Click
DialogResult = DialogResult.Cancel
Close()
End Sub
End Class