Пример #1
0
 private void miPuzzle_Click(object sender, System.EventArgs e)
 {
     if (m_playArea == null)
     {
         //This starts puzzle bobble:
         m_playArea     = new PuzzleBobble.PlayArea();
         m_playArea.Loc = new EPointF(100, 50);
     }
     else
     {
         m_playArea.Dispose();
         m_playArea = null;
     }
 }
Пример #2
0
 private void miPuzzle_Click(object sender, System.EventArgs e)
 {
     if (m_playArea == null)
     {
         //This starts puzzle bobble:
         m_playArea = new PuzzleBobble.PlayArea();
         m_playArea.Loc = new EPointF(100, 50);
     }
     else
     {
         m_playArea.Dispose();
         m_playArea = null;
     }
 }