Commit 9bf101e6 by BellCodeEditor

save project

parent e11c9f68
Showing with 12 additions and 0 deletions
import tkinter import tkinter
def register():
name=e1.get()
print("gufdj:",name)
hh=e2.get()
print("gufdj:",hh)
hj=e3.get()
print("gufdj:",hj)
root=tkinter.Tk() root=tkinter.Tk()
root.title("lol") root.title("lol")
root.geometry("400x320+500+300") root.geometry("400x320+500+300")
...@@ -20,4 +28,8 @@ lab2.place(x=50,y=140) ...@@ -20,4 +28,8 @@ lab2.place(x=50,y=140)
lab3=tkinter.Label(root,text='ddddo',font=('宋体',15), lab3=tkinter.Label(root,text='ddddo',font=('宋体',15),
fg="black",height=2) fg="black",height=2)
lab3.place(x=50,y=200) lab3.place(x=50,y=200)
button1=tkinter.Button(root,text='tijiao',bg="lightgreen",width=15,command=register())
button1.place(x=150,y=250)
root.resizable(width=False,height=False)
root.mainloop() 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