-
Notifications
You must be signed in to change notification settings - Fork 1
/
frmAuthor.vb
150 lines (132 loc) · 5.06 KB
/
frmAuthor.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
Public Class frmauthor
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents LinkLabel2 As System.Windows.Forms.LinkLabel
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents LinkLabel1 As System.Windows.Forms.LinkLabel
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents LinkLabel4 As System.Windows.Forms.LinkLabel
Friend WithEvents Timer1 As System.Windows.Forms.Timer
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmauthor))
Me.Timer1 = New System.Windows.Forms.Timer(Me.components)
Me.Label2 = New System.Windows.Forms.Label()
Me.LinkLabel2 = New System.Windows.Forms.LinkLabel()
Me.Label1 = New System.Windows.Forms.Label()
Me.Label3 = New System.Windows.Forms.Label()
Me.LinkLabel1 = New System.Windows.Forms.LinkLabel()
Me.Label5 = New System.Windows.Forms.Label()
Me.LinkLabel4 = New System.Windows.Forms.LinkLabel()
Me.SuspendLayout()
'
'Timer1
'
Me.Timer1.Interval = 50
'
'Label2
'
resources.ApplyResources(Me.Label2, "Label2")
Me.Label2.ForeColor = System.Drawing.SystemColors.ActiveCaptionText
Me.Label2.Name = "Label2"
'
'LinkLabel2
'
resources.ApplyResources(Me.LinkLabel2, "LinkLabel2")
Me.LinkLabel2.Name = "LinkLabel2"
Me.LinkLabel2.TabStop = True
'
'Label1
'
resources.ApplyResources(Me.Label1, "Label1")
Me.Label1.Name = "Label1"
'
'Label3
'
resources.ApplyResources(Me.Label3, "Label3")
Me.Label3.Name = "Label3"
'
'LinkLabel1
'
Me.LinkLabel1.ForeColor = System.Drawing.SystemColors.ActiveBorder
resources.ApplyResources(Me.LinkLabel1, "LinkLabel1")
Me.LinkLabel1.Name = "LinkLabel1"
'
'Label5
'
resources.ApplyResources(Me.Label5, "Label5")
Me.Label5.ForeColor = System.Drawing.SystemColors.ActiveCaptionText
Me.Label5.Name = "Label5"
'
'LinkLabel4
'
resources.ApplyResources(Me.LinkLabel4, "LinkLabel4")
Me.LinkLabel4.Name = "LinkLabel4"
Me.LinkLabel4.TabStop = True
'
'frmauthor
'
resources.ApplyResources(Me, "$this")
Me.Controls.Add(Me.LinkLabel4)
Me.Controls.Add(Me.Label5)
Me.Controls.Add(Me.Label3)
Me.Controls.Add(Me.Label1)
Me.Controls.Add(Me.LinkLabel2)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.LinkLabel1)
Me.ForeColor = System.Drawing.SystemColors.ActiveCaptionText
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.Name = "frmauthor"
Me.ShowInTaskbar = False
Me.TransparencyKey = System.Drawing.SystemColors.Window
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
#End Region
Private Sub frmauthor_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.Timer1.Enabled = True
End Sub
Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Dim cont As Integer
Me.Height = 28
'If Me.Height < 248 Then
' Me.Height = Me.Height + 70
'End If
For cont = 28 To 248 Step 1
Me.Height = Me.Height + cont
If Me.Height >= 248 Then
Me.Timer1.Enabled = False
Exit For
End If
Next
End Sub
Private Sub LinkLabel1_MouseHover(sender As Object, e As EventArgs) Handles LinkLabel1.MouseHover
Dim webAddress As String = "http://www.github.io/sinkpad"
Process.Start(webAddress)
End Sub
Private Sub LinkLabel4_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles LinkLabel4.LinkClicked
Dim webAddress As String = "http://gochojr.github.io/sustain"
Process.Start(webAddress)
End Sub
End Class