Commit 4b624c57 by BellCodeEditor

save project

parent d1981c0a
Showing with 7 additions and 5 deletions
......@@ -52,12 +52,12 @@ class My_login(): # 登录窗口
self.bg_img = tkinter.PhotoImage(file="bg.png")
self.box = PhotoImage(file='box.png') # True可以拉伸,False不能拉伸
def show(self): # 登录界面的所有控件
def show(self): # 登录界面的所有控件 l = tkinter.Label(self.root, text='您好!请登录', bg='g
# Label文本标签,界面提示信息
l = tkinter.Label(self.root, text='您好!请登录', bg='green',
font=('宋体', 15), width=40, height=2)
l.place(x=0, y=0)
l = tkinter.Label(self.root, text='用户名:', font=("宋体", 12),
l = tkinter.Label(self.root, text='用户名:', font=("宋体", 12)reen',
f ont=('宋体', 15), width=40, height=2)
l.place(x=0, y=0),
fg="black")
l.place(x=50, y=80)
l = tkinter.Label(self.root, text=' 码:', font=("宋体", 12),
......
{"admin": "admin", "python": "123456"}
self.val = IntVar()self.val = IntVar()self.val = IntVar()vvself.val = IntVar()self.val = IntVar()vvself.val = IntVar()vv
\ 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