欢迎来到天天文库
浏览记录
ID:47236408
大小:54.00 KB
页数:13页
时间:2019-08-29
《VB拼图游戏源代码》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、DimaAsInteger,bAsInteger,cAsInteger,dAsInteger,eAsString,jbAsIntegerPrivateSubEnd_Click()EndEndSubPrivateSubForm_Load()DimiAsInteger,aAsInteger,bAsIntegerFori=0To7Image1(i).Picture=LoadPicture("C:UsersAdministratorDesktop图片"&(i+1)&".jpg")Label1(i).FontSize=110NextiRandomizeEn
2、dSubPrivateSubImage1_Click(IndexAsInteger)IfIndex=8ThenIfImage1(5).Picture=FalseThenImage2.Picture=Image1(8).PictureImage1(8).Picture=Image1(5).PictureImage1(5).Picture=Image2.Picturee=Label1(8).CaptionLabel1(8).Caption=Label1(5).CaptionLabel1(5)=eText3.Text=Val(Text3.Text)+1Timer
3、2.Enabled=TrueElseIfImage1(7).Picture=FalseThenImage2.Picture=Image1(8).PictureImage1(8).Picture=Image1(7).PictureImage1(7).Picture=Image2.Picturee=Label1(8).CaptionLabel1(8).Caption=Label1(7).CaptionLabel1(7)=eText3.Text=Val(Text3.Text)+1Timer2.Enabled=TrueEndIfEndIfEndIfIfIndex=
4、6ThenIfImage1(3).Picture=FalseThenImage2.Picture=Image1(6).PictureImage1(6).Picture=Image1(3).PictureImage1(3).Picture=Image2.Picturee=Label1(6).CaptionLabel1(6).Caption=Label1(3).CaptionLabel1(3)=eText3.Text=Val(Text3.Text)+1Timer2.Enabled=TrueElseIfImage1(7).Picture=FalseThenIma
5、ge2.Picture=Image1(6).PictureImage1(6).Picture=Image1(7).PictureImage1(7).Picture=Image2.Picturee=Label1(6).CaptionLabel1(6).Caption=Label1(7).CaptionLabel1(7)=eText3.Text=Val(Text3.Text)+1Timer2.Enabled=TrueEndIfEndIfEndIfIfIndex=0ThenIfImage1(3).Picture=FalseThenImage2.Picture=I
6、mage1(0).PictureImage1(0).Picture=Image1(3).PictureImage1(3).Picture=Image2.Picturee=Label1(0).CaptionLabel1(0).Caption=Label1(3).CaptionLabel1(3)=eText3.Text=Val(Text3.Text)+1Timer2.Enabled=TrueElseIfImage1(1).Picture=FalseThenImage2.Picture=Image1(0).PictureImage1(0).Picture=Ima
7、ge1(1).PictureImage1(1).Picture=Image2.Picturee=Label1(0).CaptionLabel1(0).Caption=Label1(1).CaptionLabel1(1)=eText3.Text=Val(Text3.Text)+1Timer2.Enabled=TrueEndIfEndIfEndIfIfIndex=2ThenIfImage1(5).Picture=FalseThenImage2.Picture=Image1(2).PictureImage1(2).Picture=Image1(5).Pictur
8、eImage1(5).Picture=Image2.Picture
此文档下载收益归作者所有