Commit e2f27cc8 by BellCodeEditor

save project

parent 10199fee
Showing with 23 additions and 5 deletions
import tkinter
root = tkinter.Tk()
root = tkinter.Tk()#创建窗口
root.title('用户注册系统')#标题
root.geometry('400x300+500+250')#大小及位置
root.title('用户注册系统')
#输入框
#账户框
in_1 = tkinter.Entry(root,show=None,font=("宋体",14),
bg="light grey",width=25)
in_1.place(x=110,y=70)
root.geometry('400x300+300+500')
#密码框
in_2 = tkinter.Entry(root,show='*',font=("宋体",14),
bg="light grey",width=25)
in_2.place(x=110,y=130)
#确认密码框
in_3 = tkinter.Entry(root,show='*',font=("宋体",14),
bg="light grey",width=25)
in_3.place(x=110,y=190)
root.mainloop()
\ No newline at end of file
#注释
note_1 = tkinter.Label(root,text="您好,请输入用户信息",
font=("宋体",15),fg="BlueViolet",width=40,height=2,bg="PaleTurquoise1")
note_1.place(x=0,y=0)
root.mainloop()#保持监听
\ No newline at end of file
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