Commit 49e85b36 by BellCodeEditor

auto save

parent d342feb7
Showing with 4 additions and 2 deletions
...@@ -131,7 +131,8 @@ class My_register(): # 注册窗口 ...@@ -131,7 +131,8 @@ class My_register(): # 注册窗口
self.name = self.e1.get() self.name = self.e1.get()
self.password1 = self.e2.get() self.password1 = self.e2.get()
self.password2 = self.e3.get() self.password2 = self.e3.get()
return self.name, self.password1, self.password2 return self.naB
me, self.password1, self.password2
app_login = My_login() app_login = My_login()
app_login.show() app_login.show()
\ No newline at end of file
...@@ -21,7 +21,7 @@ class Note(): # 便签、笔记 ...@@ -21,7 +21,7 @@ class Note(): # 便签、笔记
self.ent = tkinter.Entry(self.root, show=None,font=('宋体', 13), self.ent = tkinter.Entry(self.root, show=None,font=('宋体', 13),
bg="snow", width=25) bg="snow", width=25)
self.ent.place(x=10, y=310) self.ent.place(x=10, y=310)
# 按钮 # 按钮
self.but = tkinter.Button(self.root,text='添加',font=('宋体', 12), self.but = tkinter.Button(self.root,text='添加',font=('宋体', 12),
bg="lightblue", width=5, command=self.get_info) bg="lightblue", width=5, command=self.get_info)
self.but.place(x=240, y=305) self.but.place(x=240, y=305)
......
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