CN106325880A - 一种基于vb的显示wifi信息的自制用户控件的生成方法 - Google Patents

一种基于vb的显示wifi信息的自制用户控件的生成方法 Download PDF

Info

Publication number
CN106325880A
CN106325880A CN201610775798.6A CN201610775798A CN106325880A CN 106325880 A CN106325880 A CN 106325880A CN 201610775798 A CN201610775798 A CN 201610775798A CN 106325880 A CN106325880 A CN 106325880A
Authority
CN
China
Prior art keywords
control
wifi
generation method
user control
self
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610775798.6A
Other languages
English (en)
Inventor
冯斌
朱伟燕
张双洋
邓跞文
杨新征
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Smartgen Technology Co Ltd
Original Assignee
Zhengzhou Smartgen Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Smartgen Technology Co Ltd filed Critical Zhengzhou Smartgen Technology Co Ltd
Priority to CN201610775798.6A priority Critical patent/CN106325880A/zh
Publication of CN106325880A publication Critical patent/CN106325880A/zh
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本发明提供了一种基于VB的显示WIFI信息的自制用户控件的生成方法,该方法包括以下步骤:第一步,制作用户控件的显示界面;第二步,添加所述用户控件的WIFI名称属性和WIFI信号强度属性;第三步,增加点击事件,用于外部调用;第四步,增加反选突出显示功能。该基于VB的显示WIFI信息的自制用户控件的生成方法具有设计科学、实用性强、直观方便的优点。

Description

一种基于VB的显示WIFI信息的自制用户控件的生成方法
技术领域
本发明涉及了一种基于VB的显示WIFI信息的自制用户控件的生成方法。
背景技术
模块扫描到WIFI信息后,要将WIFI信息显示到应用程序中,如果只用字符和数字来显示WIFI的名称和强度,不够直观方便。
为了解决以上存在的问题,人们一直在寻求一种理想的技术解决方案。
发明内容
本发明的目的是针对现有技术的不足,从而提供一种设计科学、实用性强、直观方便的基于VB的显示WIFI信息的自制用户控件的生成方法。
为了实现上述目的,本发明所采用的技术方案是:一种基于VB的显示WIFI信息的自制用户控件的生成方法,包括
第一步,制作用户控件的显示界面;
第二步,添加所述用户控件的WIFI名称属性和WIFI信号强度属性;
第三步,增加点击事件,用于外部调用;
第四步,增加反选突出显示功能。
基于上述,在第一步中,新建一个用户控件并设置用户控件名,添加一个用于显示WIFI名称的Lable标签和一个用于显示WIFI信号强度的PictureBox控件。
基于上述,所述Label标签的TextAlign属性设置为MiddleLeft;所述PictureBox控件的SizeMode属性设置为AutoSize。
基于上述,所述WIFI信号强度设置成四个档,并根据不同信号强度的档位设置所述PictureBox控件的图片。
本发明相对现有技术具有突出的实质性特点和显著的进步,具体的说,本发明通过自制用户控件,并设置用户控件的属性,来直观方便的显示WiFi名称和WiFi信号强度,其具有设计科学、实用性强、直观方便的优点。
具体实施方式
下面通过具体实施方式,对本发明的技术方案做进一步的详细描述。
一种基于VB的显示WIFI信息的自制用户控件的生成方法,包括第一步,制作用户控件的显示界面;第二步,添加所述用户控件的WIFI名称属性和WIFI信号强度属性;第三步,增加点击事件,用于外部调用;第四步,增加反选突出显示功能。
所述点击事件可以由外部调用,在所述点击事件函数内可以自定义功能,如设置所述WIFI名称和所述WIFI信号强度等。
实际中,在第一步中,新建一个用户控件并设置用户控件名,添加一个用于显示WIFI名称的Lable标签和一个用于显示WIFI信号强度的PictureBox控件。在单击控件、控件上的Label标签或PictureBox控件时都触发所述点击事件。
具体地,所述Label标签的TextAlign属性设置为MiddleLeft,字体设置为宋体9号;所述PictureBox控件的SizeMode属性设置为AutoSize。
所述WIFI信号强度设置成四个档,并根据不同信号强度的档位设置所述PictureBox控件的图片。根据不同的信号强度,所述PictureBox控件调用不同的信号强度图片对应显示。
设置反选突出显示功能,当选中所述用户控件时,将所述用户控件的BackgroundImage属性设置为SelectImage.png, 所述用户控件突出显示,增强视觉效果。未选中所述用户控件时,将所述用户控件的BackgroundImage属性设置为NormalImage.png,恢复正常。
最后应当说明的是:以上实施例仅用以说明本发明的技术方案而非对其限制;尽管参照较佳实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:依然可以对本发明的具体实施方式进行修改或者对部分技术特征进行等同替换;而不脱离本发明技术方案的精神,其均应涵盖在本发明请求保护的技术方案范围当中。

Claims (4)

1.一种基于VB的显示WIFI信息的自制用户控件的生成方法,其特征在于,该方法包括以下步骤:
第一步,制作用户控件的显示界面;
第二步,添加所述用户控件的WIFI名称属性和WIFI信号强度属性;
第三步,增加点击事件,用于外部调用;
第四步,增加反选突出显示功能。
2.根据权利要求1所述的基于VB的显示WIFI信息的自制用户控件的生成方法基于VB的显示WIFI信息的自制用户控件的生成方法,其特征在于:在第一步中,新建一个用户控件并设置用户控件名,添加一个用于显示WIFI名称的Lable标签和一个用于显示WIFI信号强度的PictureBox控件。
3.根据权利要求2所述的基于VB的显示WIFI信息的自制用户控件的生成方法基于VB的显示WIFI信息的自制用户控件的生成方法,其特征在于:所述Label标签的TextAlign属性设置为MiddleLeft;所述PictureBox控件的SizeMode属性设置为AutoSize。
4.根据权利要求2或3所述的基于VB的显示WIFI信息的自制用户控件的生成方法,其特征在于:所述WIFI信号强度设置成四个档,并根据不同信号强度的档位设置所述PictureBox控件的图片。
CN201610775798.6A 2016-08-31 2016-08-31 一种基于vb的显示wifi信息的自制用户控件的生成方法 Pending CN106325880A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610775798.6A CN106325880A (zh) 2016-08-31 2016-08-31 一种基于vb的显示wifi信息的自制用户控件的生成方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610775798.6A CN106325880A (zh) 2016-08-31 2016-08-31 一种基于vb的显示wifi信息的自制用户控件的生成方法

Publications (1)

Publication Number Publication Date
CN106325880A true CN106325880A (zh) 2017-01-11

Family

ID=57789746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610775798.6A Pending CN106325880A (zh) 2016-08-31 2016-08-31 一种基于vb的显示wifi信息的自制用户控件的生成方法

Country Status (1)

Country Link
CN (1) CN106325880A (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526586A (zh) * 2017-07-31 2017-12-29 郑州众智科技股份有限公司 通过下拉列表可多选选项的自制用户控件的生成方法

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102087597A (zh) * 2011-02-14 2011-06-08 浪潮通信信息系统有限公司 一种基于j2ee和构件集的可视化开发平台
US8332746B2 (en) * 2008-06-26 2012-12-11 Microsoft Corporation Transformation of physical and logical layout forms to logical layout pages

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8332746B2 (en) * 2008-06-26 2012-12-11 Microsoft Corporation Transformation of physical and logical layout forms to logical layout pages
CN102087597A (zh) * 2011-02-14 2011-06-08 浪潮通信信息系统有限公司 一种基于j2ee和构件集的可视化开发平台

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HARVEY M. DEITEL等: "《Visual C++.NET高级编程》", 31 July 2004, 清华大学出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526586A (zh) * 2017-07-31 2017-12-29 郑州众智科技股份有限公司 通过下拉列表可多选选项的自制用户控件的生成方法

Similar Documents

Publication Publication Date Title
Frost Anthropology and festivals: festival ecologies
KR20190104154A (ko) 서비스 객체 디스플레이 방법, 맵 데이터 처리 방법, 클라이언트 및 서버
CN103309618A (zh) 移动操作系统
WO2005109907A3 (en) Maintaining a graphical user interface state that is based on a selected time
CN102800048A (zh) 一种电子地图缩放的显示方法
CN105900053A (zh) 用于指定链接目的地的界面装置和计算机程序、用于观看者的界面装置和计算机程序
AU2269801A (en) System and method for managing a scalable list of items for display
CN107015734A (zh) 一种信息查看方法和装置
CN102387413A (zh) 一种电视机上展现天气信息的方法
CN104035705B (zh) 切换视图显示模式的客户端、方法及系统
CN102591500B (zh) 触控绘画处理系统及方法
CN109782971A (zh) 智能终端及其屏幕显示方法、具有存储功能的装置
CN109165064A (zh) 一种新消息的显示方法、装置、存储介质及终端
CN105630893B (zh) 一种组图标题的显示方法和装置
CN107423411A (zh) 日志显示方法和装置
CN106325880A (zh) 一种基于vb的显示wifi信息的自制用户控件的生成方法
CN102693093A (zh) 虚拟键盘的显示系统及方法
CN102707893B (zh) 移动终端的虚拟键盘的显示系统及方法
CN106383595A (zh) 一种输入法显示界面的调整方法及移动终端
CN106648606A (zh) 一种信息显示的方法及装置
US20140300627A1 (en) Method and apparatus indicating scroll position on a display
CN102955645A (zh) 数据更新方法及系统
US20100274797A1 (en) Method and System for Multi-Input Hierarchical Content Navigation
CN103561341A (zh) 一种智能电视桌面切换方法、装置及智能电视
Baillie et al. Designing quick & dirty applications for mobiles: Making the case for the utility of HCI principles

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170111