欢迎来到天天文库
浏览记录
ID:14158127
大小:50.50 KB
页数:19页
时间:2018-07-26
《移动拼图游戏vb代码》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、移动拼图游戏vb代码DimaAsInteger,bAsInteger,cAsInteger,dAsInteger,eAsString,jbAsIntegerPrivateSubEnd_Click()EndEndSubPrivateSubForm_Load()DimiAsInteger,aAsInteger,bAsIntegerFori=0To7Image1(i).Picture=LoadPicture("C:UsersthinkpadDesktop移动拼图"&(i+1)&".jpg")Label1(i).FontSize=110N
2、extiRandomizeEndSubPrivateSubImage1_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
3、=Val(Text3.Text)+1Timer2.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.Enab
4、led=TrueEndIfEndIfEndIfIfIndex=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=T
5、rueElseIfImage1(7).Picture=FalseThenImage2.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=0Th
6、enIfImage1(3).Picture=FalseThenImage2.Picture=Image1(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=FalseTh
7、enImage2.Picture=Image1(0).PictureImage1(0).Picture=Image1(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=FalseThenIma
8、ge2.Picture=Image1(2).PictureImage1(2).Picture=Image1(5).PictureImage1(5).Picture=Image2.
此文档下载收益归作者所有