public Easy() { InitializeComponent(); DoubleBuffered = true; timer5 = new Timer(); timer5.Interval = 1; timer5.Tick += new EventHandler(timer5_Tick); timer5.Start(); broevi = new int[99]; for (int i = 0; i < 99; i++) { broevi[i] = i; } ballsDoc = new BallsDoc(broevi); }
public Form2() { InitializeComponent(); // bum = new SoundPlayer("boom.wav"); DoubleBuffered = true; timer5 = new Timer(); timer5.Interval = 1; timer5.Tick += new EventHandler(timer5_Tick); timer5.Start(); broevi = new int[99]; for (int i = 0; i < 99; i++) { broevi[i] = i; } ballsDoc = new BallsDoc(broevi); }