日期:2014-05-17 浏览次数:20963 次
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
namespace TestWinForm
{
public partial class FormTest : Form
{
public FormTest()
{
InitializeComponent();
}
private bool isStart = true;
private void Test()
{
Point current = lblNumberArr.Location;
int y = 0;
bool up = true;
while (isStart)
{
if (y == -lblNumberArr.Size.Height)
{
up = false;
}
else if (y == 0)
{
up = true;
}
if (up)
{
y = current.Y - 1;
}
&nbs