Commit fce62daa by BellCodeEditor

save project

parent 7e6ad6ec
Showing with 2 additions and 2 deletions
...@@ -74,9 +74,9 @@ class My_login(): # 登录窗口 ...@@ -74,9 +74,9 @@ class My_login(): # 登录窗口
button1 = tkinter.Button(self.root, text='登录', bg="lightblue", button1 = tkinter.Button(self.root, text='登录', bg="lightblue",
fg="black", width=15, command=register) fg="black", width=15, command=register)
button1.place(x=60, y=220) button1.place(x=60, y=220)
button1 = tkinter.Button(self.root, text='注册', bg="lightyellow", button2 = tkinter.Button(self.root, text='注册', bg="lightyellow",
fg="black", width=15, command=reg_to_login) fg="black", width=15, command=reg_to_login)
button1.place(x=230, y=220) button2.place(x=230, y=220)
# 进入消息循环,监听事件 # 进入消息循环,监听事件
self.root.mainloop() self.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