任务管理项目源代码清单

任务管理项目源代码清单

ID:35118575

大小:259.50 KB

页数:36页

时间:2019-03-18

任务管理项目源代码清单_第1页
任务管理项目源代码清单_第2页
任务管理项目源代码清单_第3页
任务管理项目源代码清单_第4页
任务管理项目源代码清单_第5页
资源描述:

《任务管理项目源代码清单》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、任务管理项目源代码清单1.工程Fwb的模块Module1的代码如下:PublicLetterAsIntegerPublicChoiceAsIntegerDimIAsIntegerDimXrndAsIntegerDimStrCAsStringDimXYAsIntegerPublicReadTextAsStringPublicSReadAsStringPublicLenStrAsIntegerPublicOneCode(24)AsStringDimTwoCode()AsStringPublicdbRedAsNewRecordsetPubli

2、cdbConAsNewADODB.ConnectionPublicStrSqlAsStringPublicCountredAsIntegerPublicEABC(52)AsStringPublicCELAsIntegerPublicFormWidthAsIntegerPublicFormHeightAsIntegerPublicTSE,TSR,TSWAsIntegerPublicWordE,WordR,WordSAsIntegerPublicCountEAsIntegerPublicCountRAsIntegerPublicSWordA

3、sIntegerPublicUserStrAsStringPublicg_dbconAsNewADODB.ConnectionPublicg_dbredAsNewRecordsetPublicTestAsIntegerPublicMsgAsIntegerPublicSubRndABC()'载入文本信息FrmMain.LblErrar.Caption="错误:"&CountEFrmMain.LblRight.Caption="正确:"&CountRForI=0To6SelectCaseICase0M1Case1M2Case2M3Case3

4、M4Case436CodeDocumentM5Case5M6Case6M7EndSelectNextIEndSubSubM1()'载入第1行文本IfLetter=3AndChoice=1ThenFrmMain.LblText1(0).Caption=Mid(OneCode(Int(Rnd*25)),1,1)EndIf'IfLetter=2AndChoice=0Then'FrmMain.LblText1(0).Caption=Mid(Head(Int(Rnd*177)),1,1)'EndIfIfLetter=3And(Choice=2Or

5、Choice=3OrChoice=4)ThenFrmMain.LblText1(0).Caption=TwoCode(Int(Rnd*Countred))EndIfIf(Letter=1AndChoice=2)OrLetter=4OrLetter=5ThenFrmMain.LblText1(0).Caption=Mid(ReadText,LenStr,1)LenStr=LenStr+1EndIfIfLetter=1AndChoice=1ThenFrmMain.LblText1(0).Caption=EABC(Int(Rnd*53))En

6、dIfXY=1Xrnd=30+(FrmMain.LblText1(0).Width)While(Xrnd<=(FrmMain.PicDispaly(0).Width-200))LoadFrmMain.LblText1(XY)FrmMain.LblText1(XY).Visible=TrueFrmMain.LblText1(XY).Left=XrndIf(Letter=1AndChoice=2)OrLetter=4OrLetter=5Then'载入须序文本StrC=Mid(ReadText,LenStr,1)FrmMain.LblText

7、1(XY).Caption=StrCLenStr=LenStr+1EndIfIfLetter=3AndChoice=1Then'载入一级简码FrmMain.LblText1(XY).Caption=Mid(OneCode(Int(Rnd*25)),1,1)EndIf'IfLetter=2AndChoice=0Then'载入字根'FrmMain.LblText1(XY).Caption=Mid(Head(Int(Rnd*177)),1,1)'EndIfIfLetter=3And(Choice=2OrChoice=3OrChoice=4)T

8、hen'载入二、三、全码汉字FrmMain.LblText1(XY).Caption=TwoCode(Int(Rnd*Countred))EndIfIfLetter=1AndChoice=1Then'载入随

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。