Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

Administrator / level3-lesson16-diy2

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 502d8711 authored 2 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent 7d01a482 c245568l1538p256a15013/wx144915
Hide whitespace changes
Inline Side-by-side
Showing with 7 additions and 5 deletions
  • my_search.py
my_search.py
View file @ 502d8711
...@@ -6,8 +6,7 @@ root.title("好康的") # 设置窗口标题 ...@@ -6,8 +6,7 @@ root.title("好康的") # 设置窗口标题
root.geometry("400x320+500+300") root.geometry("400x320+500+300")
root.resizable(width=False,height=False) root.resizable(width=False,height=False)
lyb=tkinter.Button(root,text="提交",fg="blue",width=15,comment=) # 设置窗口大小
lyb.place(x=140,y=250) # 设置窗口大小
lab = tkinter.Label(root, text='您好!这里有好康♂的', font=('宋体', 15), lab = tkinter.Label(root, text='您好!这里有好康♂的', font=('宋体', 15),
fg="black",width=40, height=2,bg="green") fg="black",width=40, height=2,bg="green")
...@@ -32,9 +31,12 @@ e2.place(x=140,y=140) ...@@ -32,9 +31,12 @@ e2.place(x=140,y=140)
# 确认密码输入框,左上角坐标:x:140,y:200 # 确认密码输入框,左上角坐标:x:140,y:200
e3=tkinter.Entry(root,show="*",font=("宋体",14),bg="light grey",width=18) e3=tkinter.Entry(root,show="*",font=("宋体",14),bg="light grey",width=18)
e3.place(x=140,y=200) e3.place(x=140,y=200)
def sb(): def register():
name=lab1.get() name=e1.get()
print("提交完成,名字是"+name) print("提交完成",name)
lyb=tkinter.Button(root,text="提交",fg="blue",width=15,command=register())
lyb.place(x=140,y=250)
# 注册界面上的文字标签 # 注册界面上的文字标签
# lab = tkinter.Label(root, text='您好!请填写注册信息', font=('宋体', 15), # lab = tkinter.Label(root, text='您好!请填写注册信息', font=('宋体', 15),
# fg="black",width=40, height=2,bg="green") # fg="black",width=40, height=2,bg="green")
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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