-
Notifications
You must be signed in to change notification settings - Fork 1
/
dashboard.py
46 lines (23 loc) · 1.06 KB
/
dashboard.py
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
from tkinter import *
def back():
import test
dashboard.destroy()
def appar():
import dashboard_3
dashboard.destroy()
dashboard=Tk()
dashboard.title('dashboard')
dashboard.geometry('990x660+50+50')
heading=Label(dashboard,text='Welcome ',font=('Microsoft Yahei UI Light',35,'bold'))
heading.place(x=400,y=50)
selectAPPButton=Button(dashboard,text='Building',font=('Microsoft Yahei UI Light',18,'bold'),command=appar)
selectAPPButton.place(x=100,y=250)
selectAPPButton=Button(dashboard,text='Total rent',font=('Microsoft Yahei UI Light',18,'bold'))
selectAPPButton.place(x=100,y=350)
selectAPPButton=Button(dashboard,text='current tenant',font=('Microsoft Yahei UI Light',18,'bold'))
selectAPPButton.place(x=100,y=450)
selectAPPButton=Button(dashboard,text='All tenants',font=('Microsoft Yahei UI Light',18,'bold'))
selectAPPButton.place(x=100,y=550)
gobackButton=Button(dashboard,text='go back',font=('Microsoft Yahei UI Light',18,'bold'),command=back)
gobackButton.place(x=100,y=50)
dashboard.mainloop()