public Hangman()
 {
     InitializeComponent();
     restartStats();
     foreGround = new CForeGround {
         Left = 0, Top = 0
     };
     scoreFrame = new CScoreFrame {
         Left = 420, Top = -55
     };
     stand = new CStand {
         Left = 20, Top = 10
     };
     menu = new CDialogFrame {
         Left = 467, Top = 150
     };
     this.Cursor    = new Cursor(Resources.Cursor_Hat.GetHicon());
     WordBox.Cursor = this.Cursor;
 }
        //-------------------

        public RacingGame()
        {
            InitializeComponent();
            this.Cursor = new Cursor(Resources.HandCursor.GetHicon());
            axBackground.Ctlcontrols.stop();
            axForeGround.Ctlcontrols.play();
            record = 1;
            steps  = new CSteps[15];
            for (int x = 0, y = 0; x < steps.Length; x++, y += 150)
            {
                steps[x] = new CSteps {
                    Left = y, Top = 501
                }
            }
            ;
            menu = new CMenu {
                Left = 680, Top = -10
            };
            foreground = new CForeground {
                Left = 0, Top = 0
            };
            scoreFrame = new CScoreFrame {
                Left = 261, Top = 106
            };
            background = new CBackground {
                Left = -5, Top = -300
            };
            enemy = new CCar {
                Left = FIRST_POSITION_ENEMY_X, Top = FIRST_POSITION_ENEMY_Y
            };
            player = new CPlayer {
                Left = FIRST_POSITION_PLAYER_X, Top = FIRST_POSITION_PLAYER_Y
            };
            enemySecond = new CCar {
                Left = FIRST_POSITION_ENEMY_X, Top = 517
            };
        }