Commit e6824d0e by BellCodeEditor

auto save

parent 0651e310
Showing with 20 additions and 0 deletions
import tkinter
a=tkinter.Tk()#创建窗口对象
a.title("用户注册")#给这个窗口设置标题
a.geometry("400x300+600+300")#设置窗口大小及位置
c1=tkinter.Entry(a,show=None,font=('宋体',14),bg="light blue",width=18)
c1.place(x=80,y=100)
c2=tkinter.Entry(a,show="*",font=('宋体',14),bg="light blue",width=18)
c2.place(x=160,y=140)
c3=tkinter.Entry(a,show="*",font=('宋体',14),bg="light blue",width=18)
c3.place(x=160,y=180)
t1=tkinter.Label(a,text="您好,请填写信息")
t1.place(x=160,y=50)
t2=tkinter.Label(a,text="您好,请填写信息")
t2.place(x=80,y=50)
a.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