//-------------------------------------------------------------------------------------------------------------- // RandomRound.cs @ 2007 by jl gzw //-------------------------------------------------------------------------------------------------------------- using System; using System.Drawing; using System.Windows.Forms;
namespace RandomRound { public class RandomRound : Form { //圆的大小 const int cxWidth = 50; const int cyHeight = 50; //点的数目 const int iPtNum = 360; //圆移动的偏移量 int cxMove = 5; int cyMove = 5; //圆的坐标 int x, y; //窗口的中心点 static Point CenterPt;