Exemplo n.º 1
0
 private void AnimationTimer_Tick(object sender, EventArgs e)
 {
     if (form != null)
     {
         if (form.output != null)
         {
             world.p.Sprite.Dispose();
             world.p.Sprite = (Bitmap)form.output.Clone();
             form.Close();
             form.Dispose();
             form = null;
         }
     }
     MainPanel.Invalidate();
 }
Exemplo n.º 2
0
 private void CreateToolStripMenuItem_Click(object sender, EventArgs e)
 {
     form = new DrawPolygonForm();
     form.Show();
 }