Commit fc67a18d by BellCodeEditor

save project

parent 900b5931
Showing with 13 additions and 6 deletions
import tkinter
def register():
name = e1.get()
print("hsyua")
rook = tkinter.Tk()
rook.title("kk")
rook.gemetry("400x320+500+300")
rook.geometry("400x320+500+300")
rook.mainloop()
e1 = tkinter.Entry(root,show=Name,font=('宋体',14),bg="light grey",width=18)
e1 = tkinter.Entry(rook,show=None,font=('宋体',14),bg="light grey",width=18)
e1.place(x=140,y=80)
lab = tkinter.Label(root,text='你好!晴天是正常现象',fg="blue",width=40,hight=2,bg="red")
lab = tkinter.Label(rook,text='你好!晴天是正常现象',fg="blue",width=40,hight=2,bg="red")
lab.place(x=0,y=0)
e2 = tkinter.Entry(root,show="*",font=('宋体',14),width=18)
e2 = tkinter.Entry(rook,show="*",font=('宋体',14),width=18)
e2.place(x=140,y=140)
e3 = tkinter.Entry(root,show="*",font=('宋体',14),width=18)
e3 = tkinter.Entry(rook,show="*",font=('宋体',14),width=18)
e3.place(x=140,y=200)
lab = tkinter.Label(root,text='name',font=('宋体',14),width=18)
lab = tkinter.Label(rook,text='name',font=('宋体',14),width=18)
lab.place(x=60,y=80)
button1 = tkinter.Button(rook,text='提交', bg="lightgreen",width=15,command=register)
button1.place(x=150,y=250)
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