Commit 77914007 by BellCodeEditor

save project

parent fa186100
Showing with 4 additions and 4 deletions
......@@ -4,7 +4,7 @@ def register():
name=e1.get()
password1=e2.get()
password2=e3.get()
print("",name,password1password2)
print("用户信息:",name,password1,password2)
# 建立窗口对象
......@@ -32,13 +32,13 @@ lab1.place(x=60,y=80)
lab2 = tkinter.Label(root, text='密码:', font=('宋体', 12),fg="black")
lab2.place(x=60,y=140)
lab3 = tkinter.Label(root, text='确认密码:', font=('宋体', 12),fg="black")
lab3.place(x=60,y=200)
lab3.place(x=50,y=200)
# 保持窗口监听,进入消息循环
button = tkinter.Button(root, text='提交',bg="1ightgreen",width=15,
button = tkinter.Button(root, text='提交',bg="lightgreen",width=15,
command=register)
button.p1ace(x=150,y=250)
button.place(x=150,y=250)
root.mainloop()
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