Commit e32bdba6 by BellCodeEditor

auto save

parent 880e28b3
Showing with 44 additions and 7 deletions
import tkinter import tkinter
def login_to_reg(): # 登录界面转注册界面 def login_to_reg(): # 登录界面转注册界面
pass app_login.root.destroy()
global app_reg
app_reg = My_register()
app_reg.show()
def reg_to_login(): # 注册界面转登录界面 def reg_to_login(): # 注册界面转登录界面
pass app_reg.root.destroy()
global app_login
app_login = My_login()
app_login.show()
def register(): # 注册验证 def register(): # 注册验证
pass
def login(): # 登录验证 def login(): # 登录验证
pass pass
...@@ -104,4 +110,35 @@ class My_register(): # 注册窗口 ...@@ -104,4 +110,35 @@ class My_register(): # 注册窗口
return self.name, self.password1, self.password2 return self.name, self.password1, self.password2
app_login = My_login() app_login = My_login()
app_login.show() app_login.show()
\ No newline at end of file
#showinfo(title,info)弹出一个消息提示框
#showwarning(title,info)弹出一个警告提示框
#showerror(title,info)弹出一个错误警告框
{"admin": "123456"} {"admin": "123456"}
\ No newline at end of file
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