我正在使用离子滑动盒,我迭代了许多图像,并在滑动框中显示它们。
<ion-slide-box>
<!-- Iterate n number of times, where n is the number of images -->
<ion-slide ng-repeat="n in [].constructor(imageCount) track by $index">
<img ng-src="MyImage-{{$index + 1}}.png" width="100%" height=
使用代码
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
slides += 1
If slides <= 10 Then
PictureBox1.Left += 50
ElseIf slides >= 11 Then
PictureBox1.Left -= 50
Else
slides = 0
End If
End Sub
图片框将滑动/移动到右边,然后一旦它到达屏幕的右端,它就会向左移