【#文档大全网# 导语】以下是®文档大全网的小编为您整理的《代码基本常识介绍》,欢迎阅读!
代码基本常识介绍
相信很多人都知道做一个网站必须要写代码,因为没有代码,网站是做不起来的,也运营不下去,下面我们电脑组装网小编来给大家说说一些基本代码知识吧! Dim p As Integer, y As Integer Private Sub Command2_Click() frmmain.Text1 = 0 bushu = 0 Dim i As Integer Randomize n = Text1 * Text2
frmmain.pc.Picture = LoadPicture(frmmain.cd.FileName) frmmain.pc.Rows = Text1 frmmain.pc.Cols = Text2
frmmain.Command1.Enabled = True Unload frmdivide ReDim b(0 To n - 1) Do
t = Int(Rnd * n) If b(t) = 0 Then b(t) = i i = i + 1
End If Loop Until i = n If p > 0 Then For i = 1 To y - 1
Unload frmmain.Image1(i) Next End If For x = 1 To n - 1 Load frmmain.Image1(x) Next
frmmain.Picture = LoadPicture() For f = 0 To n - 1
frmmain.Image1(b(f)).Picture = frmmain.pc.GraphicCell(f) Next
c = 325 / frmmain.pc.Cols k = 244 / frmmain.pc.Rows For m = 1 To frmmain.pc.Rows For z = 1 To frmmain.pc.Cols
frmmain.Image1(ct).Left = (z - 1) * c frmmain.Image1(ct).Top = (m - 1) * k ct = ct + 1 Next
Next y = n
For i = 1 To n - 1
frmmain.Image1(i).Visible = True Next
frmmain.Image1(b(f - 1)).Picture = LoadPicture() p = 1 zxc = b(f - 1)
frmref.Picture = frmmain.pc.Picture End Sub
本文来源:https://www.wddqxz.cn/79f88f3daf1ffc4fff47ac12.html