Commit bd4c006c by BellCodeEditor

save project

parent f0f571ce
Showing with 3 additions and 1 deletions
...@@ -2,7 +2,9 @@ import tkinter ...@@ -2,7 +2,9 @@ import tkinter
def login_to_reg(): # 登录界面转注册界面 def login_to_reg(): # 登录界面转注册界面
app_login.root.destroy() app_login.root.destroy()
global app_reg global app_reg
app_reg=My_register() app_reg=My_register()
app_reg.show() app_reg.show()
...@@ -10,7 +12,7 @@ def login_to_reg(): # 登录界面转注册界面 ...@@ -10,7 +12,7 @@ def login_to_reg(): # 登录界面转注册界面
def reg_to_login(): # 注册界面转登录界面 def reg_to_login(): # 注册界面转登录界面
app_reg.root.destroy() app_reg.root.destroy()
global app_login
app_login=My_login() app_login=My_login()
app_login.show() app_login.show()
......
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