-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDashboard.bas
72 lines (53 loc) · 1.37 KB
/
Dashboard.bas
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
B4A=true
Group=Default Group
ModulesStructureVersion=1
Type=Activity
Version=8.8
@EndOfDesignText@
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: True
#End Region
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim bmpBack As Bitmap
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Private ImageView1 As ImageView
Private ImageView2 As ImageView
Private ImageView3 As ImageView
Private ImageView4 As ImageView
Private ImageView5 As ImageView
Private ImageView6 As ImageView
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("Dashboard")
bmpBack.Initialize(File.DirAssets, "background.jpg")
Activity.SetBackgroundImage(bmpBack)
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub ImageView6_Click
StartActivity(Depot)
End Sub
Sub ImageView5_Click
StartActivity(Emprunt)
End Sub
Sub ImageView4_Click
StartActivity(gererBook)
End Sub
Sub ImageView3_Click
StartActivity(addBook)
End Sub
Sub ImageView2_Click
StartActivity(GererAdh)
End Sub
Sub ImageView1_Click
StartActivity(addAdhe)
End Sub