コード例 #1
0
ファイル: Form1.cs プロジェクト: GelaPT/AsteroidsWinForms
 /// <summary>
 /// Function that updates the Frame each tick
 /// </summary>
 public void UpdateFrame()
 {
     if (pictureBox1.Image != null)
     {
         pictureBox1.Image.Dispose();
     }
     pictureBox1.Image = game.GetFrame();
 }