Commit 614bd116 by BellCodeEditor

save project

parent 2c84d2bf
Showing with 10 additions and 0 deletions
......@@ -70,6 +70,8 @@ class My_login(): # 登录窗口
self.e1.place(x=120, y=80)
self.e2.place(x=120, y=140)
# 登录、注册按钮
button1 = tkinter.Button(self.root, text='登录', bg="lightblue",
fg="black", width=15, command=login)
......@@ -79,6 +81,14 @@ class My_login(): # 登录窗口
button2.place(x=230, y=220)
self.root.mainloop() # 进入消息循环,监听事件
self.y=20
self.val=0
self.v = TntVar()
for info in ailst:
self.canvas.create_text(40,self.y,text=info,
font = ("宋体",11),anchor=W,fill='#FF9900')
self.y += 30
def get_input(self): # 获取输入的用户名、密码
self.name = self.e1.get()
self.password = self.e2.get()
......
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