Commit 9854bccf by BellCodeEditor

save project

parent e9d44b25
Showing with 90 additions and 0 deletions
import tkinter import tkinter
root=tkinter.Tk()
root.title("注册")
root.geometry("400x320+500+300")
root.resizable(width=False,height=False)
el=tkinter.Entry(root,show=None,font=("宋体",15),width=18)
el.place(x=140,y=80)
el=tkinter.Entry(root,show="#",font=("宋体",15),width=18)
el.place(x=140,y=110)
el=tkinter.Entry(root,show="#",font=("宋体",15),width=18)
el.place(x=140,y=140)
ll=tkinter.Label(root,text="你好,请输入注册信息",font=("宋体",15),
fg="black",width=40,heigh=2,bg="light blue")
ll.place(x=0,y=0)
ll=tkinter.Label(root,text="名称",font=("宋体",15),
fg="black",width=5,heigh=2)
ll.place(x=80,y=60)
ll=tkinter.Label(root,text="密码",font=("宋体",15),
fg="black",width=5,heigh=2)
ll.place(x=80,y=95)
ll=tkinter.Label(root,text="确认密码",font=("宋体",15),
fg="black",width=8,heigh=2)
ll.place(x=80,y=135)
def fun():
print("注册成功")
bl=tkinter.Button(root,text="注册",bg="light blue",width=8,height=2)
bl.place(x=140,y=180)
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