Commit 63f4589e by BellCodeEditor

save project

parent 87e6c0c8
Showing with 15 additions and 7 deletions
import tkinter
def xvz():
a12=e1.get()
b12=e2.get()
c12=e3.get()
print(a12,b12,c12)
root = tkinter.Tk()
root.title('注册')
root.geometry('400x320+500+300')
......@@ -8,12 +13,14 @@ e3 = tkinter.Entry(root,show= '*',font = ('楷书',18),bg = 'light gray',width =
e1.place(x=140,y=80)
e2.place(x=140,y=140)
e3.place(x=140,y=200)
a = tkinter.Label(root,text = '您好!请填写注册账号信息',font = ('楷书',15),width = 40, height = 2,bg = 'blue')
b = tkinter.Label(root,text = '用户名',font = ('楷书',15),height = 2)
c = tkinter.Label(root,text = '密码',font = ('楷书',15),height = 2)
d = tkinter.Label(root,text = '确认密码',font = ('楷书',15),height = 2)
a = tkinter.Label(root,text = '您好!请填写注册账号信息',font = ('楷书',15),width = 40, height = 2,bg = 'light blue')
b = tkinter.Label(root,text = '用户名',font = ('楷书',15),height = 2)
c = tkinter.Label(root,text = '密码',font = ('楷书',15),height = 2)
d = tkinter.Label(root,text = '确认密码',font = ('楷书',15),height = 2)
a.place(x = 0,y = 0)
b.place(x = 0,y = 80)
c.place(x = 0,y = 140)
d.place(x = 0,y = 200)
b.place(x = 40,y = 80)
c.place(x = 40,y = 140)
d.place(x = 30,y = 200)
qwe = tkinter.Button(root,text = '确认',font = ('楷书',15),width = 10, height = 2,bg = 'light blue',command = xvz)
qwe.place(x=150,y=250)
root.mainloop()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment