예제 #1
0
        private void button5_MouseClick(Object obj, EventArgs e)
        {
            display.gameLockingUtility();
            LevelCharacter LCharacter = new LevelCharacter(display);

            LCharacter.ShowDialog();
            LCharacter.Dispose();
            display.fause = false;
            display.PScreen.HideScreen();
            if (display.gameover == false)
            {
                display.time.Start();
            }
            if (display.full == true)
            {
                display.TopMost = true;
            }
            try
            {
                GC.SuppressFinalize(LCharacter);
                GC.Collect();
            }
            catch { }
        }
예제 #2
0
 private void button5_MouseClick(Object obj, EventArgs e)
 {
     display.gameLockingUtility();
     LevelCharacter LCharacter = new LevelCharacter(display);
     LCharacter.ShowDialog();
     LCharacter.Dispose();
     display.fause = false;
     display.PScreen.HideScreen();
     if (display.gameover == false)
         display.time.Start();
     if (display.full == true)
         display.TopMost = true;
     try
     {
         GC.SuppressFinalize(LCharacter);
         GC.Collect();
     }
     catch { }
 }