Commit 192fd6ea by BellCodeEditor

save project

parent 0b3c8d52
Showing with 12 additions and 0 deletions
import tkinter
def register():
name=e.get()
print(name)
name1=e2.get()
print(name1)
name2=e3.get()
print(name2)
print("点击了提交按钮")
rood = tkinter.Tk()
rood.title("注册")
rood.geometry("300x300+500+300")
......@@ -16,6 +24,10 @@ e6=tkinter.Label(rood,text="密码",font=("宋体",15),fg="red")
e6.place(x=10,y=120)
e7=tkinter.Label(rood,text="确认密码",font=("宋体",15),fg="red")
e7.place(x=10,y=160)
rood.resizable(width=False,height=False)
button1=tkinter.Button(rood,text='提交',bg="lightgreen",width=15,command=register)
button1.place(x=130,y=250)
rood.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