如何开发一个简单的字典应用程序 [英] How do I develop a simple dictionary app

查看:396
本文介绍了如何开发一个简单的字典应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为C Sharp for Windows Mobile 8.1制作一个简单的Dictionary应用程序的应用程序,但现在源代码中有问题怎么办



什么是需要(字典应用程序的算法是什么?)

I want to make an app for simple Dictionary application in C Sharp for Windows Mobile 8.1 but now have problems in the source code how to do it

what is needed ( how the Algorithm for Dictionary App is ? )

推荐答案

这个应用程序需要很多东西,你需要联系一个数据库的管理员掌握所有单词及其含义和其他内容,以获取所有单词及其含义的数据库,自己编写所有内容将花费大量时间更像一个月。该算法只是在数据库中搜索一个单词及其相关数据。



但是,编写源代码并不难。曾经使用过SQL数据库吗?如果您知道如何使用数据库,那么您将能够管理应用程序的数据。首先要确保所有单词都驻留在您要连接到您的网站的数据库中,以获得该单词的含义。



一旦完成,你可以轻松地继续创建你的应用程序,因为会有一个GUI,我建议你使用WPF框架来构建你的应用程序。要了解有关此WPF框架的更多信息,请阅读本文档及其中的其他链接: http://msdn.microsoft.com/en-us/library/ms754130(v = vs.110).aspx [ ^ ]



之后,搜索数据库的登录信息就像字母一样简单。您可以通过连接到数据库来搜索SQL,它将返回结果。您可以使用WPF框架中的TextBlock,TextBox,Button和其他控件来创建应用程序。要了解有关将SQL数据库连接到应用程序的更多信息,您可能有兴趣阅读我的这篇文章。



如何将SQL数据库连接到您的C#程序,初学者的教程 [ ^ ]
A lot of things are required for this application, you would need to contact with an admin of a database which holds all of the words and their meanings and other stuff to get the database for all of the words and their meanings, writing them all yourself will take a lot of time more like a month. The algorithm is just to search for a word and the related data to it inside the database.

But, write the source code is not hard thing to do. Ever worked with SQL databases? If you know how to work with database, then you will be able to manage the data for the application. First thing is to make sure that all of the words are residing inside the database that you're going to connect to your website in order to get the meaning of the word.

Once that has been done, you can easily continue to create your application, since there will be a GUI, I would recommend that you use WPF framework to build your application. To learn more on this WPF framework, please read this document and other links in it: http://msdn.microsoft.com/en-us/library/ms754130(v=vs.110).aspx[^]

After this, the login to search the database is as simple as alphabets. You can search the SQL by connecting to the database, and it will return the result. You can use the TextBlock, TextBox, Button and other controls in the WPF framework to create the application. To learn more on connecting the SQL database to your application, you might be interested in reading this article of mine.

How to connect SQL Database to your C# program, beginner's tutorial[^]


这篇关于如何开发一个简单的字典应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆