英语单词学习窗体(一)
想背英语单词,于是尝试写个WinForm窗体,将单词录入数据库(好记心不如烂笔头,敲键盘也可以吧,边录入,边记). 1.软件用的是VS2010,首先创建解决方案,创建Windows窗体应用程序: 2.创建一个录入单词的窗体,添加相应的textbox、button、label. 3.我是按照单词本添加的,依次添加英语、汉语、对单词首字母及对应页数中间用.隔开, 相应的Name是txtEnglish、txtChinese、txtMemo,因为要多次用的这里新建了一个StrudyEnglish.Model类, public class EnglishMDL { private string english; private string chinese; private string memo; public string English { get { return english; } set { english = value; } } public string Chinese { get { return chinese; } set { chinese = value; } } public string Memo { get { return memo; } set { memo =