-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathadmin_page.vb
55 lines (40 loc) · 1.67 KB
/
admin_page.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
Public Class admin_page
Private images As List(Of Image)
Private currentIndex As Integer = 0
Private Sub Hi_Click(sender As Object, e As EventArgs)
view_patients.Show()
End Sub
Private Sub ListBox1_SelectedIndexChanged(sender As Object, e As EventArgs)
End Sub
Private Sub Staff_Click(sender As Object, e As EventArgs)
staff.Show()
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs)
Utilities.Show()
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs)
Statistics.Show()
End Sub
Private Sub admin_page_Load(sender As Object, e As EventArgs) Handles MyBase.Load
images = New List(Of Image) From {
My.Resources.applying_gel_for_an_ultrasound_exam_examination_scan_scanner_image,
My.Resources.iStock_491322891,
My.Resources.shutterstock_414452563_ecg2,
My.Resources.lab
}
End Sub
Private Sub Panel1_Paint(sender As Object, e As PaintEventArgs) Handles Panel1.Paint
End Sub
Private Sub Panel2_Paint(sender As Object, e As PaintEventArgs) Handles Panel2.Paint
End Sub
Private Sub Panel4_Paint(sender As Object, e As PaintEventArgs) Handles Panel4.Paint
End Sub
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
Panel4.BackgroundImage = images(currentIndex)
Panel4.BackgroundImageLayout = ImageLayout.Zoom
currentIndex = (currentIndex + 1) Mod images.Count
End Sub
Private Sub Button3_Click(sender As Object, e As EventArgs)
Insert_Results.Show()
End Sub
End Class