Commit 62651a36 by BellCodeEditor

save project

parent 343e8bb5
Showing with 3 additions and 4 deletions
import tkinter
from tkinter import messagebox
import json
def login_to_reg(): # 登录界面转注册界面
app.login.root.destroy()
global app_rag
......@@ -12,8 +11,10 @@ def reg_to_login(): # 注册界面转登录界面
app_login=My_login()
app_login.show()
def register(): # 注册验证
pass
def login(): # 登录验证
pass
class My_login(): # 登录窗口
def __init__(self):
......@@ -89,8 +90,6 @@ class My_register(): # 注册窗口
button1 = tkinter.Button(self.root, text='取消', bg="lightgreen",
width=15, command=reg_to_login)
button1.place(x=80, y=250)
with open("user.txt"):
# 进入消息循环
self.root.mainloop()
def get_input(self): # 获取提交的注册信息
......
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