-
Notifications
You must be signed in to change notification settings - Fork 1
/
Simple signup form design.py
50 lines (36 loc) · 1.16 KB
/
Simple signup form design.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
47
48
49
50
#;==========================================
#; Title: Simple Signup form
#; Author: @AyemunHossain
#;==========================================
from tkinter import *
def register():
print("Successfully Registered")
root =Tk()
root.title("Rokto Cai")
frame=Frame(root)
frame.pack()
label1=Label(frame,text="First Name : ",fg="black")
label2=Label(frame,text="Last Name : ",fg="black")
label3=Label(frame,text="Phone Number : ",fg="black")
label4=Label(frame,text="Email : ",fg="black")
label5=Label(frame,text="Password : ",fg="black")
entry1=Entry(frame)
entry2=Entry(frame)
entry3=Entry(frame)
entry4=Entry(frame)
entry5=Entry(frame)
label1.grid(row=0,column=0,sticky=E)
label2.grid(row=1,column=0,sticky=E)
label3.grid(row=2,column=0,sticky=E)
label4.grid(row=3,column=0,sticky=E)
label5.grid(row=4,column=0,sticky=E)
entry1.grid(row=0,column=1)
entry2.grid(row=1,column=1)
entry3.grid(row=2,column=1)
entry4.grid(row=3,column=1)
entry5.grid(row=4,column=1)
check=Checkbutton(frame,text="I Agreed with all teams and condition",)
check.grid(row=5,columnspan=2)
button1=Button(frame,text="Sign up",bg="green",command=register)
button1.grid(column=10)
root.mainloop()