Commit bba3dbe1 by BellCodeEditor

save project

parent 26b38594
Showing with 8 additions and 0 deletions
import tkinter import tkinter
def register():
name=e1.get()
password1=e2.get()
password2=e3.get()
print(name,password1,password2)
root=tkinter.Tk() root=tkinter.Tk()
root.title("诈骗短信") root.title("诈骗短信")
...@@ -19,5 +24,8 @@ lab2=tkinter.Label(root,text='密码',font=('微软雅黑',12),fg="red") ...@@ -19,5 +24,8 @@ lab2=tkinter.Label(root,text='密码',font=('微软雅黑',12),fg="red")
lab2.place(x=60,y=140) lab2.place(x=60,y=140)
lab2=tkinter.Label(root,text='确定密码',font=('微软雅黑',12),fg="red") lab2=tkinter.Label(root,text='确定密码',font=('微软雅黑',12),fg="red")
lab2.place(x=60,y=200) lab2.place(x=60,y=200)
button=tkinter.Button(root,text='给钱',bg="lightgreen",
width=15,command=register)
button.place(x=150,y=250)
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