摘 要
作为除电视、报纸、广播之外的第四大媒体,互联网不仅成为人们获取新闻信息的主要来源,更成为了人们闲暇之余的一种休闲手段。随着互联网技术的发展,各种各样基于网络的应用也随之诞生,网络聊天工具便是其中的一种。本文采用Visual Studio 2008+SQL Server 2005开发环境,结合WinForms、ADO.NET等多种技术,实现了一个类似QQ的网络聊天工具,并在WINDOWS平台上加以了实现。通过C#语言进行网络编程,通过公共的数据库交换各种信息,实现了人性化的界面设计与功能设计。软件经过测试,满足现代人们即时通信的需求,达到预期的设计效果,对网络聊天工具的人性化设计具有一定的现实意义,同时也为其他相关项目的设计提供了参考。
关键词:网络聊天工具 C# 即时通信 数据库 人性化
Abstract
Internet is the fourth major media other than televisions, newspapers and broadcasting, acting not only as a major source of news information, it is also a means of recreation for people during their leisure. Along with the network were born,one of them is online chat tool. This thesis develops a online chat tool which like QQ and based on the integration of various technologies such as WinForms, ADO.NET etc,and based on the adoption of Visual Studio 2008+SQL Server 2005 development environment, then implement it on WINDOWS platform. It used C # language for network programming,and exchange different information through common database for the implemention of the and function design. After going through the tests, this online chat tool can achieve the projected design purpose of instantaneous communication needs of people in modern times, it also poses certain realistic significance to the of online chat tool and provides as a reference to the design of other relevant projects.
Key words: online chat tool C# instantaneous communication
database
目 录
第一章 引言 ..............................................................................................................................
1.1 系统开发背景 .................................................................................................................
1.2 聊天软件的开发目标 .....................................................................................................
第二章 开发环境与关键技术简介 .........................................................................................
2.1 C#简介 .............................................................................................................................
2.2 .NET Framework简介 ...................................................................................................
2.3 WinForms窗体设计技术 ...............................................................................................
2.4 CS结构 ............................................................................................................................
2.5 ADO.NET技术 ...............................................................................................................
2.6 SQL Server 2005数据库简介 ........................................................................................
第三章 需求分析......................................................................................................................
3.1 可行性研究 .....................................................................................................................
3.2 用户需求 .........................................................................................................................
3.3 性能需求 .........................................................................................................................
3.4 系统功能需求 .................................................................................................................
第四章 系统设计......................................................................................................................
4.1 系统功能结构 .................................................................................................................
4.2 系统模块划分 .................................................................................................................
4.3 系统整体流程图 .............................................................................................................
第五章 详细设计......................................................................................................................
5.1 登录界面设计 .................................................................................................................
5.2 注册界面设计 .................................................................................................................
5.3 主界面设计 .....................................................................................................................
5.4 查找添加好友界面设计 .................................................................................................
5.5 聊天界面设计 .................................................................................................................
5.6 个人设置界面设计 .........................................................................................................
5.7 头像选择界面设计 .........................................................................................................
5.8 系统消息界面设计 .........................................................................................................
结束语 ........................................................................................................................................
参考文献 ....................................................................................................................................
附录一 ........................................................................................................................................
附录二 ........................................................................................................................................
第一章 引言
1.1 系统开发背景
当今社会已进入信息时代,信息是当今世界最重要的资源之一,它与物质及能源一起构成了三大能源支柱。信息高速公路是信息社会的基础设施,而互联网则是信息高速公路的重要组成部分。
在互联网相当普及的今天,你们对网络的依赖越来越大,越来越离不开网络,网络聊天更是成为了人们的“家常便饭”。通过网络聊天工具,人们足不出户就可进行闲聊甚至工作会谈,极大地方便了人们的日常生活与工作需求。
常用的网络聊天工具主要是QQ与MSN。MSN主要用于国际,而国
内的主流网络聊天工具是QQ。QQ有着非常良好的操作界面,和强大的通信功能,集娱乐、生活和工作于一身。随着技术的进步,QQ不仅可以通过宽带网在PC上使用,通过手机也可以实现与好友、同事通信。而无论是QQ还是MSN,都存在一个很大的问题——广告。每次登陆后时不时会弹出一些广告窗口,绝大多数网友都对此感觉厌烦。因此在本次论文的激励下,我决定设计一个类似QQ并且无垃圾信息的网络聊天工具,此外也希望通过本次论文能更好地学习与掌握网络软件编程知识。
1.2 聊天软件的开发目标
本论文的主要工作是设计一个类似QQ的网络即时聊天工具,主要是