예제 #1
0
 public Form1()
 {
     InitializeComponent();
     FileName  = null;
     isPaused  = false;
     timerCall = 0;
     ballDoc   = new BallDoc(this.Width);
     timer1    = new Timer();
     timer1.Start();
     this.DoubleBuffered = true;
 }
예제 #2
0
 private void newGameToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ballDoc = new BallDoc(this.Width);
 }