Commit 783552af by BellCodeEditor

save project

parent 4b5f9152
Showing with 9 additions and 0 deletions
import tkinter import tkinter
def reg():
print(1)
root=tkinter.Tk() root=tkinter.Tk()
root.title('注册') root.title('注册')
root.geometry('400x320+800+400') root.geometry('400x320+800+400')
root.resizable(width=False,height=False)
e1=tkinter.Entry(root,show=None,font=('宋体',14),width=18) e1=tkinter.Entry(root,show=None,font=('宋体',14),width=18)
e1.place(x=120,y=100) e1.place(x=120,y=100)
...@@ -23,6 +27,11 @@ e1.place(x=120,y=160) ...@@ -23,6 +27,11 @@ e1.place(x=120,y=160)
l1=tkinter.Label(root,text='OK',fg='red') l1=tkinter.Label(root,text='OK',fg='red')
l1.place(x=60,y=160) l1.place(x=60,y=160)
l1=tkinter.Label(root,text='信息:',fg='red',width=40,font=('宋体',14),bg='blue')
l1.place(x=0,y=0)
b=tkinter.Button(root,text='提交',fg='red',width=14,font=('宋体',14),bg='blue',command=reg)
b.place(x=120,y=200)
......
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